man pages section 5: Standards, Environments, and Macros
只搜寻这本书
查看这本书:
以 PDF 格式下载本书 (1134 KB)

pam_unix_auth(5)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES

NAME

    pam_unix_auth- PAM authentication module for UNIX

SYNOPSIS

    pam_unix_auth.so.1
    

DESCRIPTION

    The pam_unix_auth module implements pam_sm_authenticate(), which provides functionality to the PAM authentication stack. It provides functions to verify that the password contained in the PAM item PAM_AUTHTOK is the correct password for the user specified in the item PAM_USER. If PAM_REPOSITORY is specified then user's passwd is fetched from that repository. Otherwise the default nsswitch.conf(4) repository is searched for that user.

RETURN VALUES

    The following values are returned:

    PAM_AUTH_ERR

    Authentication failure

    PAM_BUF_ERR

    Memory buffer error

    PAM_PERM_DENIED

    Permission denied

    PAM_SYSTEM_ERR

    System error

    PAM_SUCCESS

    Successfully obtains authentication token

    PAM_USER_UNKNOWN

    No account present for user

ATTRIBUTES

    See attributes(5) for descriptions of the following attributes:

    ATTRIBUTE TYPE

    ATTRIBUTE VALUE

    Interface Stability

    Evolving

    MT Level

    MT-Safe with exceptions

SEE ALSO

NOTES

SunOS 5.9 Last Revised 14 Dec 2001

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO | NOTES