Advertisement
metalx1000

Disable Debian Password requirements

Dec 27th, 2020
1,945
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. #to remove password requirements for things such as:
  2. #BAD PASSWORD: it is WAY too short
  3. #BAD PASSWORD: is a palindrome
  4. #BAD PASSWORD: it is based on a dictionary word
  5.  
  6. #Edit file
  7. sudo vim /etc/pam.d/common-password
  8.  
  9. #comment out line with "pam_cracklib"
  10. #and add this line
  11. password    [success=1 default=ignore]  pam_unix.so minlen=1 sha512
  12.  
  13. sudo passwd username
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement