Commit Graph

5 Commits

Author SHA1 Message Date
Todd C. Miller
b7a4a6c787 use a static global to keep stae about empty passwords 1999-07-07 18:09:00 +00:00
Todd C. Miller
1b023dc9dd PAM prompt code was wrong, looks like we have to kludge it after all. 1999-07-05 20:53:54 +00:00
Todd C. Miller
3bdb3e41ca In the PAM code, when a user hits return at the first password prompt, exit without a warning just like the normal auth code 1999-07-05 20:35:30 +00:00
Todd C. Miller
69a00325ec New (correct) PAM code
Tgetpass now takes an echo flag for use with PAM_PROMPT_ECHO_ON
Block SIGINT and SIGTSTP during auth
remove a useless umask setting
Change error from BAD_ALLOCATION -> BAD_AUTH_INIT (for use with sia/PAM)
Some cosmetic changes to auth.c for consistency
1999-07-05 20:14:21 +00:00
Todd C. Miller
7d768c1cec move authentication code from check.c to auth.c 1999-06-03 15:51:44 +00:00