<div>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.
</div>
<div>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.<br> </div>
<div>Regards,</div>
<div>Wei Yu<br> </div>
<div><span class="gmail_quote">On 5/30/07, <b class="gmail_sendername">Les Mikesell</b> <<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Wei Yu wrote:<br>> I see.<br>> In summary, PAM is still difficult for using two passwords for two<br>
> different<br>> ways, right?<br>> I will try to read more about PAM to see if so.<br>> Thanks.<br><br>It isn't that you can't use it that way but there isn't much point.  The<br>idea is for PAM to provide a common way to configure multiple services
<br>to use the same method(s).  If you are configure one service to use one<br>different method that the service can do directly, PAM is just an<br>unnecessary layer.<br><br>--<br>  Les Mikesell<br>   <a href="mailto:lesmikesell@gmail.com">
lesmikesell@gmail.com</a><br><br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos">
http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote></div><br><br clear="all"><br>-- <br>Zijing 15# 1404B Tsinghua Univ.<br>+86 -10 -51537235<br>Zig