o Change defaults stuff to put the value right in the struct.
o Implement mailer_flags o Store syslog stuff both in int and string form. Setting the string form magically updates the int version. o Add boolean attribute to strings where it makes sense to say !foo
This commit is contained in:
@@ -80,8 +80,8 @@ sudo_collect(timeout, rendition, title, nprompts, prompts)
|
||||
switch (rendition) {
|
||||
case SIAFORM:
|
||||
case SIAONELINER:
|
||||
if (timeout <= 0 || timeout > sudo_inttable[I_PW_TIMEOUT] * 60)
|
||||
timeout = sudo_inttable[I_PW_TIMEOUT] * 60;
|
||||
if (timeout <= 0 || timeout > def_ival(I_PW_TIMEOUT) * 60)
|
||||
timeout = def_ival(I_PW_TIMEOUT) * 60;
|
||||
/*
|
||||
* Substitute custom prompt if a) the sudo prompt is not "Password:"
|
||||
* and b) the SIA prompt is "Password:" (so we know it is safe).
|
||||
|
Reference in New Issue
Block a user