Skip to content

Instantly share code, notes, and snippets.

@rma92
Created November 10, 2025 12:57
Show Gist options
  • Select an option

  • Save rma92/3f6a977dbcf83d4a88c7902a39f3cce6 to your computer and use it in GitHub Desktop.

Select an option

Save rma92/3f6a977dbcf83d4a88c7902a39f3cce6 to your computer and use it in GitHub Desktop.

Alpine: Disable password complexity requirements on Alpine Linux from Vultr

vi /etc/pam.d/base-password

Comment everything out, and add password required pam_unix.so sha512 shadow. The file should look like:

#%PAM-1.0
#password    requisite   pam_pwquality.so enforce_for_root
#password    required    pam_unix.so use_authtok sha512 shadow
password    required    pam_unix.so sha512 shadow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment