11.\" Automatically generated by Pandoc 3.6.3
22.\"
3- .TH "SUDOERS" "5" "" "sudo\- rs 0.2.10 " "sudo\- rs"
3+ .TH "SUDOERS" "5" "" "sudo\- rs 0.2.11 " "sudo\- rs"
44.SH NAME
55\f[CR] sudoers \f[ R ] \- sudo\- compatible security configuration
66.SH DESCRIPTION
@@ -30,11 +30,8 @@ start time of the session leader (or parent process) and a timestamp
3030(using a monotonic clock if one is available).
3131The user may then use sudo without a password for a short period of time
3232(15 minutes unless overridden by the timestamp_timeout option).
33- By default, \f[CR] sudo \- rs \f[ R ] uses a separate record for each
34- terminal, which means that a user\[cq ] s login sessions are authenticated
35- separately.
36- The timestamp_type option can be used to select the type of timestamp
37- record sudoers will use.
33+ \f[CR] sudo \- rs \f[ R ] uses a separate record for each terminal, which
34+ means that a user\[cq ] s login sessions are authenticated separately.
3835.SS Logging
3936By default, \f[CR] sudo \- rs \f[ R ] logs both successful and unsuccessful
4037attempts (as well as errors).
@@ -46,10 +43,10 @@ environment are inherited by the command to be run.
4643.PP
4744In \f[CR] sudo \- rs \f[ R ] , the \f[I] env_reset \f[ R ] flag cannot be disabled.
4845This causes commands to be executed with a new, minimal environment.
49- The \f[CR] HOME \f[ R ] , \f[CR] MAIL \f[ R ] , \f[CR] SHELL \f[ R ],
50- \f[CR] LOGNAME \f[ R ] and \f[CR] USER \f[ R ] environment variables are
51- initialized based on the target user and the \f[CR] SUDO_* \f[ R ] variables
52- are set based on the invoking user.
46+ The \f[CR] HOME \f[ R ] , \f[CR] SHELL \f[ R ] , \f[CR] LOGNAME \f[ R ] and
47+ \f[CR] USER \f[ R ] environment variables are initialized based on the
48+ target user and the \f[CR] SUDO_* \f[ R ] variables are set based on the
49+ invoking user.
5350Additional variables, such as \f[CR] DISPLAY \f[ R ] , \f[CR] PATH \f[ R ] and
5451\f[CR] TERM \f[ R ] , are preserved from the invoking user\[cq ] s environment
5552if permitted by the \f[I] env_check \f[ R ] or \f[I] env_keep \f[ R ] options.
@@ -539,9 +536,6 @@ entry would be:
539536 queen rushmore = NOPASSWD: /bin/kill, PASSWD: /bin/ls, /usr/bin/lprm
540537 .EE
541538.PP
542- Note, however, that the PASSWD tag has no effect on users who are in the
543- group specified by the exempt_group setting.
544- .PP
545539By default, if the NOPASSWD tag is applied to any of a user\[cq ] s
546540entries for the current host, the user will be able to run \[lq ] sudo
547541\- l\[rq ] without a password.
@@ -885,8 +879,9 @@ first editor in the list that exists and is executable if not.
885879Unless invoked as \f[B] sudoedit \f[ R ] , sudo does not preserve the
886880SUDO_EDITOR, VISUAL or EDITOR environment variables unless they are
887881present in the \f[B] env_keep \f[ R ] list.
888- The default on Linux is \f[I] /usr/bin/editor \f[ R ] , on FreeBSD
889- \f[I] /usr/vim/vi \f[ R ] .
882+ The default on Linux is
883+ \f[I] /usr/bin/editor:/usr/bin/nano:/usr/bin/vi \f[ R ] .
884+ On FreeBSD the default is \f[I] /usr/bin/vi \f[ R ] .
890885.RE
891886.SS Strings that can be used in a boolean context:
892887.IP \[bu ] 2
0 commit comments