[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: setting PAM_AUTHTOK from an application



Michael K. Johnson wrote:
> I just looked at the source code for pppd-2.3b3, and it sets PAM_AUTHTOK
> and returns an error if its conversation function is called.  Is that
> kosher?  I thought it wasn't, which is why I wrote my hack conversation
> function that I've used in protocol-bound apps.  If it's kosher, I get
> to do some cleaning up...

Do you mean that the application itself sets PAM_AUTHTOK? This is definitely
_wrong_ . The application should not even know about this item as it is
defined in pam_modules.h and not pam_appl.h .

Cheers

Andrew
-- 
               Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
                  http://parc.power.net/morgan/index.html
       [ For those that prefer FTP  ---  ftp://ftp.lalug.org/morgan ]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []