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