NAME
pam_canonicalize_user - Get user name and canonicalize it
SYNOPSIS
pam_canonicalize_user.so
DESCRIPTION
This PAM module uses the name of the user obtained via pam_get_user(3) as a key to query the password database, and replaces PAM_USER with the pw_name value that has been returned.
OPTIONS
This module does not recognise any options.
MODULE TYPES PROVIDED
Only the auth module type is provided.
RETURN VALUES
PAM_IGNORE
PAM_USER_UNKNOWN
PAM_SYSTEM_ERR
PAM_INCOMPLETE
PAM_CONV_ERR
PAM_ABORT
PAM_BUF_ERR
EXAMPLES
Prepend the PAM auth stack with the following line to canonicalize the user name before the authentication:
\n
auth required pam_canonicalize_user.so
\nSEE ALSO
pam_get_user(3), pam_get_item(3), pam_set_item(3), getpwnam(3), pam.conf(5), pam.d(5), pam(8)
AUTHOR
pam_canonicalize_user was written by Dmitry V. Levin <[email protected]>.