Linux 登陆认证

PAM: pluggable authentication modules for linux

http://www.linux-pam.org/whatispam.html

A suite of shared libraries that enable the local system administrator to choose how applications authenticate users.

 

/etc/pam.conf (or a series of configuration files located in /etc/pam.d/)

/lib/security or /lib64/security 

 

一般Unix系统就是终端输入用户名和密码,到/etc/passwd中认证下,linux 中这种方法delicated了

 

PAM主要是配置管理4个方面:

authentication management

account management

session management;

password management 

 

http://www.91ri.org/5157.html

http://www.ibm.com/developerworks/cn/linux/l-pamdev/

 

以ssh 为例:

ssh 先在目标机上获取用户相关信息(nss),然后pam 等

 

posted on 2015-03-31 17:15  不忘初衷,方能致远  阅读(184)  评论(0)    收藏  举报

导航