No longer treat an empty password at the prompt as special. To

quit out of sudo you now need to hit ^C at the password prompt.
This commit is contained in:
Todd C. Miller
2008-11-07 17:45:52 +00:00
parent 213eaef4c5
commit ff175f7f0a
5 changed files with 25 additions and 37 deletions

View File

@@ -22,7 +22,8 @@
/* Auth function return values. */
#define AUTH_SUCCESS 0
#define AUTH_FAILURE 1
#define AUTH_FATAL 2
#define AUTH_INTR 2
#define AUTH_FATAL 3
typedef struct sudo_auth {
short flags; /* various flags, see below */