Yes, that is what I want to do. But a little difference is that I want two different auth layers (one less frequently used than the other), not one. Only one layer is not enough, but one for each application are too many. I want a trade-off between security and convience, for some of the users always like to store their common used password carelessly. However, I do not know if I am going on the right way. Regards, Wei Yu On 5/30/07, Les Mikesell <lesmikesell at gmail.com> wrote: > > Wei Yu wrote: > > I see. > > In summary, PAM is still difficult for using two passwords for two > > different > > ways, right? > > I will try to read more about PAM to see if so. > > Thanks. > > It isn't that you can't use it that way but there isn't much point. The > idea is for PAM to provide a common way to configure multiple services > to use the same method(s). If you are configure one service to use one > different method that the service can do directly, PAM is just an > unnecessary layer. > > -- > Les Mikesell > lesmikesell at gmail.com > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Zijing 15# 1404B Tsinghua Univ. +86 -10 -51537235 Zig -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070530/8c8b5bd9/attachment-0005.html>