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 the callback.
Asked
Active
Viewed 1,930 times
1 Answers
6
Apparently, there is not a way.
But see my work-around at https://stackoverflow.com/a/5970078/55944
-
sorry for the downvote, I clicked too fast, now stackoverflow doesn't let me take it back – Erich Kitzmueller Jun 20 '11 at 09:06
-
@ammoQ: I have read downvote 'message' above, so I am upvoting (of a correct answer anyway.) – Grzegorz Mar 28 '14 at 21:18
-
Fortunately, I've been able to upvote now, so my debt is repaid :) – Erich Kitzmueller Mar 31 '14 at 08:22