Enum pam_sys::types::PamFlag [] [src]

pub enum PamFlag {
    SILENT,
    DISALLOW_NULL_AUTHTOK,
    ESTABLISH_CRED,
    DELETE_CRED,
    REINITIALIZE_CRED,
    REFRESH_CRED,
    CHANGE_EXPIRED_AUTHTOK,
    NONE,
}

The Linux-PAM flags

Variants

Authentication service should not generate any messages

The authentication service should return AUTH_ERROR if the user has a null authentication token (used by pam_authenticate{,_secondary}())

Set user credentials for an authentication service (used for pam_setcred())

Delete user credentials associated with an authentication service (used for pam_setcred())

Reinitialize user credentials (used for pam_setcred())

Extend lifetime of user credentials (used for pam_setcred())

The password service should only update those passwords that have aged. If this flag is not passed, the password service should update all passwords. (used by pam_chauthtok)

Trait Implementations

impl Clone for PamFlag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PamFlag
[src]

impl Debug for PamFlag
[src]

Formats the value using the given formatter.

impl PartialEq for PamFlag
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for PamFlag
[src]

Formats the value using the given formatter.