mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
changed PASSWORD_TIMEOUT to minutes
This commit is contained in:
2
check.c
2
check.c
@@ -389,7 +389,7 @@ static void check_passwd()
|
||||
#ifdef USE_GETPASS
|
||||
pass = (char *) getpass("Password:");
|
||||
#else
|
||||
pass = tgetpass("Password:", PASSWORD_TIMEOUT);
|
||||
pass = tgetpass("Password:", PASSWORD_TIMEOUT * 60);
|
||||
#endif /* USE_GETPASS */
|
||||
#endif /* HAVE_SKEY */
|
||||
if (!pass || *pass == '\0')
|
||||
|
Reference in New Issue
Block a user