linux hash mkpasswd Linux shadow hashes Identify current grep ENCRYPT_METHOD /etc/login.defs # ENCRYPT_METHOD YESCRYPT grep pam_unix.so /etc/pam.d/common-password