Skip to content

Instantly share code, notes, and snippets.

@shreewatsa
shreewatsa / password_policy.md
Created July 13, 2023 08:08
Change password policy in linux

Change this file : /etc/pam.d/common-password

password    [success=1 default=ignore]  pam_unix.so minlen=1 sha512
password    requisite           pam_deny.so
password    required            pam_permit.so
password    optional    pam_gnome_keyring.so