Add support for running a helper program to read the password when
no tty is present (or when specified with the -A flag). TODO: docs.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999-2005 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
* Copyright (c) 1999-2005, 2008 Todd C. Miller <Todd.Miller@courtesan.com>
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
* purpose with or without fee is hereby granted, provided that the above
|
||||
@@ -195,7 +195,8 @@ verify_user(pw, prompt)
|
||||
break;
|
||||
}
|
||||
|
||||
pass_warn(stderr);
|
||||
if (!ISSET(tgetpass_flags, TGP_ASKPASS))
|
||||
pass_warn(stderr);
|
||||
}
|
||||
|
||||
cleanup:
|
||||
|
Reference in New Issue
Block a user