LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1253|回复: 2

pam_listfile.so: auth or account

[复制链接]
发表于 2005-10-31 22:37:25 | 显示全部楼层 |阅读模式
In some places, i saw auth is used, but in other places, I saw account is used. What's the difference?  I did some tests with both, but the behaviour seems the same to me.

For example,

In /etc/pam.d/vsftpd
auth       required     pam_listfile.so item=user sense=allow file=/etc/vsftpd.ft
pusers onerr=fail

In Lab 233,
account required pam_listfile.so item=user sense=allow file=/path/to/nisuser
onerr=fail

Thanks!
发表于 2005-11-1 02:27:28 | 显示全部楼层
I put it under auth. I remember the PAM admin guide says its in auth... but you know what, the func of this module is more like account management...
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-1 04:12:17 | 显示全部楼层
Thanks for the reply.  That's also what I am thinking, but feel happy with your confirmation
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表