ac_help="$ac_help
--with-logging log via syslog, file, or both"
ac_help="$ac_help
- --with-logfac syslog facility to log with (default is $logfac)"
+ --with-logfac syslog facility to log with (default is \"local2\")"
ac_help="$ac_help
- --with-goodpri syslog priority for commands (def is $goodpri)"
+ --with-goodpri syslog priority for commands (def is \"notice\")"
ac_help="$ac_help
- --with-badpri syslog priority for failures (def is $badpri)"
+ --with-badpri syslog priority for failures (def is cw\"alert\"badpri)"
ac_help="$ac_help
--with-logpath path to the sudo log file"
ac_help="$ac_help
- --with-loglen maximum length of a log file line (default is $loglen)"
+ --with-loglen maximum length of a log file line (default is 80)"
ac_help="$ac_help
--with-ignore-dot ignore '.' in the PATH"
ac_help="$ac_help
ac_help="$ac_help
--with-mail-if-noperms send mail if user not allowed to run command"
ac_help="$ac_help
- --with-mailto who should get sudo mail (default is "$mailto")"
+ --with-mailto who should get sudo mail (default is \"root\")"
ac_help="$ac_help
--with-mailsubject subject of sudo mail"
ac_help="$ac_help
ac_help="$ac_help
--with-sudoers-gid gid that owns sudoers file (defaults to 0)"
ac_help="$ac_help
- --with-umask umask with which the prog should run (default is $sudo_umask)
+ --with-umask umask with which the prog should run (default is 022)
--without-umask Preserves the umask of the user invoking sudo."
ac_help="$ac_help
- --with-runas-default User to run commands as (default is "root""
+ --with-runas-default User to run commands as (default is \"root\")"
ac_help="$ac_help
--with-exempt=group no passwd needed for users in this group"
ac_help="$ac_help
ac_help="$ac_help
--with-env-editor Use the environment variable EDITOR for visudo"
ac_help="$ac_help
- --with-passwd-tries number of tries to enter password (default is $passwd_tries)"
+ --with-passwd-tries number of tries to enter password (default is 3)"
ac_help="$ac_help
- --with-timeout minutes before sudo asks for passwd again (def is $timeout)"
+ --with-timeout minutes before sudo asks for passwd again (def is 5 minutes)"
ac_help="$ac_help
- --with-password-timeout passwd prompt timeout in minutes (default is $password_timeout)"
+ --with-password-timeout passwd prompt timeout in minutes (default is 5 minutes)"
ac_help="$ac_help
--with-execv use execv() instead of execvp()"
ac_help="$ac_help
ac_help="$ac_help
--with-all-insults include all the sudo insult sets"
ac_help="$ac_help
- --with-classic-insults include the insults from the "classic" sudo"
+ --with-classic-insults include the insults from the \"classic\" sudo"
ac_help="$ac_help
--with-csops-insults include CSOps insults"
ac_help="$ac_help
esac], [AC_DEFINE(LOGGING, SLOG_SYSLOG) AC_MSG_RESULT(syslog)])
AC_MSG_CHECKING(which syslog facility sudo should log with)
-AC_ARG_WITH(logfac, [ --with-logfac syslog facility to log with (default is $logfac)],
+AC_ARG_WITH(logfac, [ --with-logfac syslog facility to log with (default is \"local2\")],
[case $with_logfac in
yes) AC_MSG_ERROR(["must give --with-logfac an argument."])
;;
AC_MSG_RESULT($logfac)
AC_MSG_CHECKING(at which syslog priority to log commands)
-AC_ARG_WITH(goodpri, [ --with-goodpri syslog priority for commands (def is $goodpri)],
+AC_ARG_WITH(goodpri, [ --with-goodpri syslog priority for commands (def is \"notice\")],
[case $with_goodpri in
yes) AC_MSG_ERROR(["must give --with-goodpri an argument."])
;;
AC_MSG_RESULT($goodpri)
AC_MSG_CHECKING(at which syslog priority to log failures)
-AC_ARG_WITH(badpri, [ --with-badpri syslog priority for failures (def is $badpri)],
+AC_ARG_WITH(badpri, [ --with-badpri syslog priority for failures (def is cw\"alert\"badpri)],
[case $with_badpri in
yes) AC_MSG_ERROR(["must give --with-badpri an argument."])
;;
esac])
AC_MSG_CHECKING(how long a line in the log file should be)
-AC_ARG_WITH(loglen, [ --with-loglen maximum length of a log file line (default is $loglen)],
+AC_ARG_WITH(loglen, [ --with-loglen maximum length of a log file line (default is 80)],
[case $with_loglen in
yes) AC_MSG_ERROR(["must give --with-loglen an argument."])
;;
fi
AC_MSG_CHECKING(who should get the mail that sudo sends)
-AC_ARG_WITH(mailto, [ --with-mailto who should get sudo mail (default is "$mailto")],
+AC_ARG_WITH(mailto, [ --with-mailto who should get sudo mail (default is \"root\")],
[case $with_mailto in
yes) AC_MSG_ERROR(["must give --with-mailto an argument."])
;;
esac])
AC_MSG_CHECKING(for umask programs should be run with)
-AC_ARG_WITH(umask, [ --with-umask umask with which the prog should run (default is $sudo_umask)
+AC_ARG_WITH(umask, [ --with-umask umask with which the prog should run (default is 022)
--without-umask Preserves the umask of the user invoking sudo.],
[case $with_umask in
yes) AC_MSG_ERROR(["must give --with-umask an argument."])
fi
AC_MSG_CHECKING(for default user to run commands as)
-AC_ARG_WITH(runas-default, [ --with-runas-default User to run commands as (default is "root"],
+AC_ARG_WITH(runas-default, [ --with-runas-default User to run commands as (default is \"root\")],
[case $with_runas_default in
yes) AC_MSG_ERROR(["must give --with-runas-default an argument."])
;;
fi
AC_MSG_CHECKING(number of tries a user gets to enter their password)
-AC_ARG_WITH(passwd-tries, [ --with-passwd-tries number of tries to enter password (default is $passwd_tries)],
+AC_ARG_WITH(passwd-tries, [ --with-passwd-tries number of tries to enter password (default is 3)],
[case $with_passwd_tries in
yes) ;;
no) AC_MSG_ERROR(["--without-editor not supported."])
AC_MSG_RESULT($passwd_tries)
AC_MSG_CHECKING(time in minutes after which sudo will ask for a password again)
-AC_ARG_WITH(timeout, [ --with-timeout minutes before sudo asks for passwd again (def is $timeout)],
+AC_ARG_WITH(timeout, [ --with-timeout minutes before sudo asks for passwd again (def is 5 minutes)],
[echo $with_timeout; case $with_timeout in
yes) ;;
no) timeout=0
AC_MSG_RESULT($timeout)
AC_MSG_CHECKING(time in minutes after the password prompt will time out)
-AC_ARG_WITH(password-timeout, [ --with-password-timeout passwd prompt timeout in minutes (default is $password_timeout)],
+AC_ARG_WITH(password-timeout, [ --with-password-timeout passwd prompt timeout in minutes (default is 5 minutes)],
[case $with_password_timeout in
yes) ;;
no) password_timeout=0
;;
esac])
-AC_ARG_WITH(classic-insults, [ --with-classic-insults include the insults from the "classic" sudo],
+AC_ARG_WITH(classic-insults, [ --with-classic-insults include the insults from the \"classic\" sudo],
[case $with_classic_insults in
yes) AC_DEFINE(CLASSIC_INSULTS)
;;