of trying to obtain the user from the login session associated with the terminal in use.
Authentication failure.
Memory buffer error.
The return value should be ignored by PAM dispatch.
Permission denied.
Cannot determine the user name.
Success.
User not known.
The root account gains access by default (rootok), only wheel members can become root (wheel) but Unix authenticate non-root applicants.
su auth sufficient pam_rootok.so
su auth required pam_wheel.so
su auth required pam_unix.so