sudo for the first time on a machine.
This is on by default.
+NO_MESSAGE
+ Omits the "lecture" one gets when running sudo for the first time
+ on a machine.
+ This is off by default.
+
TIMEOUT
Number of minutes that can elapse before sudo will ask for a passwd again.
The default is 5, set this to 0 to always prompt for a password.
rtn = check_timestamp();
if (rtn && user_uid) { /* if timestamp is not current... */
+#ifndef NO_MESSAGE
if (rtn == 2)
reminder(); /* do the reminder if ticket file is new */
+#endif /* NO_MESSAGE */
check_passwd();
}
#endif /* HAVE_SKEY */
+#ifndef NO_MESSAGE
/********************************************************************
*
* reminder()
(void) fflush(stderr);
}
+#endif /* NO_MESSAGE */
/*#define EXEMPTGROUP "sudo" /* no passwd needed for users in this group */
/*#define ENV_EDITOR /* visudo honors EDITOR and VISUAL envars */
#define SHORT_MESSAGE /* short sudo message, no copyright printed */
+/*#define NO_MESSAGE /* no sudo "lecture" message */
#define TIMEOUT 5 /* minutes before sudo asks for passwd again */
#define PASSWORD_TIMEOUT 5 /* passwd prompt timeout (in minutes) */
#define TRIES_FOR_PASSWORD 3 /* number of tries to enter passwd correctly */