NAME

pam_chksshpwd - Checks to see if SSH is available using the default password

SYNOPSIS

pam_chksshpwd.so

DESCRIPTION

pam_chksshpwd is a PAM module that checks to see if SSH is enabled, and if so checks to see if the default password is unchanged. If SSH is enabled with password authentication, and the default password for the "pi" user is still "raspberry", the file /var/lib/chksshpwd/sshwarn is created. If SSH logins are not possible with the default user account and password, this file is deleted if it exists.

MODULE TYPES PROVIDED

Only the session module type is provided.

RETURN VALUES

PAM_IGNORE

This is the only return value of this module.

EXAMPLES

The suggested usage for /etc/pam.d/common-session is:

session  optional  pam_chksshpwd.so
      

SEE ALSO

pam.conf(5), pam.d(5), pam(8)

AUTHOR

pam_chksshpwd was written by Simon Long <simon@raspberrypi.org>.