ag is not set.
open_session=value

  The pam_sm_open_session(3) function will return `value`.

close_session=value

  The pam_sm_close_session(3) function will return `value`.

Where `value` can be one of: success, open_err, symbol_err, service_err, system_err, buf_err, perm_denied, auth_err, cred_insufficient, authinfo_unavail, user_unknown, maxtries, new_authtok_reqd, acct_expired, session_err, cred_unavail, cred_expired, cred_err, no_module_data, conv_err, authtok_err, authtok_recover_err, authtok_lock_busy, authtok_disable_aging, try_again, ignore, abort, authtok_expired, module_unknown, bad_item, conv_again, incomplete.

### 6.3.3. MODULE TYPES PROVIDED

All module types (`auth`, `account`, `password` and `session`) are provided.

### 6.3.4. RETURN VALUES

PAM_SUCCESS

  Default return code if no other value was specified, else specified return value.

### 6.3.5. EXAMPLES

    auth    requisite       pam_permit.so
    auth    [success=2 default=ok]  pam_debug.so auth=perm_denied cred=success
    auth    [default=reset]         pam_debug.so auth=success cred=perm_denied
    auth    [success=done default=die] pam_debug.so
    auth    optional        pam_debug.so auth=perm_denied cred=perm_denied
    auth    sufficient      pam_debug.so auth=success cred=success

### 6.3.6. AUTHOR

pam_debug was written by Andrew G. Morgan <morgan@kernel.org>.

Prev | Up | Next
6.2. pam_canonicalize_user - get user name and canonicalize it | Home | 6.4. pam_deny - locking-out PAM module