Linux 什么';PAM auth接口和account接口的区别是什么
在Redhat文档(可在链接中找到)中,在Linux 什么';PAM auth接口和account接口的区别是什么,linux,authentication,redhat,pam,Linux,Authentication,Redhat,Pam,在Redhat文档(可在链接中找到)中,在PAM模块接口一节下,说明PAM模块的auth接口用于验证使用情况。而account接口的使用是为了验证是否允许访问 这两个接口之间是否有明显的区别,或者它们可以相互替代使用?auth和account之间的区别 auth -此模块接口验证使用情况。例如,它请求并验证密码的有效性。具有此接口的模块还可以设置凭据,例如组成员身份或Kerberos票证 账户- 此模块接口验证是否允许访问。例如,它检查用户帐户是否已过期,或者是否允许用户在一天中的特定时间登录
PAM模块接口
一节下,说明PAM模块的auth
接口用于验证使用情况。而account
接口的使用是为了验证是否允许访问
这两个接口之间是否有明显的区别,或者它们可以相互替代使用?auth和account之间的区别 auth -此模块接口验证使用情况。例如,它请求并验证密码的有效性。具有此接口的模块还可以设置凭据,例如组成员身份或Kerberos票证 账户- 此模块接口验证是否允许访问。例如,它检查用户帐户是否已过期,或者是否允许用户在一天中的特定时间登录 为了回答它们是否可以互换的问题 例如: 用户“Adam”尝试登录,并且设置了身份验证和帐户接口,然后接口“account”将检查“Adam”是否具有权限和权限 是否具有登录权限,如果是,则将检查接口“auth” 输入的密码是否正确
除非直接涉及编程或编程工具,否则有关专业服务器或网络相关基础设施管理的问题与堆栈溢出无关。您可能可以获得有关服务器故障的帮助。验证:证明您是谁。帐户:授予您所能做的。所以Auth用于身份验证,Account用于授权?
Pam Manual can be followed by typing 'man pam' on terminal -- shown below
account - provide account verification types of service: has the user's password expired?; is
this user permitted access to the requested service?
authentication - authenticate a user and set up user credentials. Typically this is via some
challenge-response request that the user must satisfy: if you are who you claim to be please
enter your password. Not all authentications are of this type, there exist hardware based
authentication schemes (such as the use of smart-cards and biometric devices), with suitable
modules, these may be substituted seamlessly for more standard approaches to authentication -
such is the flexibility of Linux-PAM.