Use the auth_getpass (and the plugin conversation fuction) for Tru64

SIA.  This prevents sudo from sleeping while holding the tty ticket
lock.
This commit is contained in:
Todd C. Miller
2015-10-06 10:25:53 -06:00
parent 588460405f
commit 2ecda6d65c
3 changed files with 64 additions and 64 deletions

View File

@@ -74,6 +74,7 @@ int sudo_securid_verify(struct passwd *pw, char *pass, sudo_auth *auth, struct s
int sudo_sia_setup(struct passwd *pw, char **prompt, sudo_auth *auth);
int sudo_sia_verify(struct passwd *pw, char *prompt, sudo_auth *auth, struct sudo_conv_callback *callback);
int sudo_sia_cleanup(struct passwd *pw, sudo_auth *auth);
int sudo_sia_begin_session(struct passwd *pw, char **user_env[], sudo_auth *auth);
/* Prototypes for normal methods */
int sudo_afs_verify(struct passwd *pw, char *pass, sudo_auth *auth, struct sudo_conv_callback *callback);