of trying to obtain the user from the login session associated with the terminal in use.

### 6.42.3. MODULE TYPES PROVIDED

The auth and account module types are provided.

### 6.42.4. RETURN VALUES

PAM_AUTH_ERR

  Authentication failure.

PAM_BUF_ERR

  Memory buffer error.

PAM_IGNORE

  The return value should be ignored by PAM dispatch.

PAM_PERM_DENY

  Permission denied.

PAM_SERVICE_ERR

  Cannot determine the user name.

PAM_SUCCESS

  Success.

PAM_USER_UNKNOWN

  User not known.

### 6.42.5. EXAMPLES

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

### 6.42.6. AUTHOR

pam_wheel was written by Cristian Gafton <gafton@redhat.com>.

Prev | Up | Next
6.41. pam_warn - logs all PAM items | Home | 6.43. pam_xauth - forward xauth keys between users