开发者

Is there any way to pass the password to pam_start() or pam_authenticate() and bypass the "conversation"?

pam_start() takes a parameter that is a structure ( http://linux.die.net/man/3/pam_conv ) where you can set a callback method for getting the password. Since I already have the password before my call to pam_start, I was wondering if there was a way to pass that information instead of setting up 开发者_如何学Gothe callback.


Apparently, there is not a way.

But see my work-around at https://stackoverflow.com/a/5970078/55944

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜