mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Adjust set_logname description to new behavior when any of LOGNAME,
USER or USERNAME are preserved.
This commit is contained in:
@@ -1228,9 +1228,10 @@ SSUUDDOOEERRSS OOPPTTIIOONNSS
|
|||||||
system) use LOGNAME to determine the real identity of
|
system) use LOGNAME to determine the real identity of
|
||||||
the user, it may be desirable to change this behavior.
|
the user, it may be desirable to change this behavior.
|
||||||
This can be done by negating the set_logname option.
|
This can be done by negating the set_logname option.
|
||||||
Note that if the _e_n_v___r_e_s_e_t option has not been
|
Note that _s_e_t___l_o_g_n_a_m_e will have no effect if the
|
||||||
disabled, entries in the _e_n_v___k_e_e_p list will override
|
_e_n_v___r_e_s_e_t option has not been disabled and the _e_n_v___k_e_e_p
|
||||||
the value of _s_e_t___l_o_g_n_a_m_e. This flag is _o_n by default.
|
list contains LOGNAME, USER or USERNAME. This flag is
|
||||||
|
_o_n by default.
|
||||||
|
|
||||||
set_utmp When enabled, ssuuddoo will create an entry in the utmp (or
|
set_utmp When enabled, ssuuddoo will create an entry in the utmp (or
|
||||||
utmpx) file when a pseudo-tty is allocated. A pseudo-
|
utmpx) file when a pseudo-tty is allocated. A pseudo-
|
||||||
@@ -2463,4 +2464,4 @@ DDIISSCCLLAAIIMMEERR
|
|||||||
file distributed with ssuuddoo or http://www.sudo.ws/license.html for
|
file distributed with ssuuddoo or http://www.sudo.ws/license.html for
|
||||||
complete details.
|
complete details.
|
||||||
|
|
||||||
Sudo 1.8.15 September 21, 2015 Sudo 1.8.15
|
Sudo 1.8.15 September 25, 2015 Sudo 1.8.15
|
||||||
|
@@ -21,7 +21,7 @@
|
|||||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||||
.\"
|
.\"
|
||||||
.TH "SUDOERS" "5" "September 21, 2015" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
.TH "SUDOERS" "5" "September 25, 2015" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
|
||||||
.nh
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@@ -2613,12 +2613,18 @@ However, since some programs (including the RCS revision control system) use
|
|||||||
to determine the real identity of the user, it may be desirable to
|
to determine the real identity of the user, it may be desirable to
|
||||||
change this behavior.
|
change this behavior.
|
||||||
This can be done by negating the set_logname option.
|
This can be done by negating the set_logname option.
|
||||||
Note that if the
|
Note that
|
||||||
|
\fIset_logname\fR
|
||||||
|
will have no effect
|
||||||
|
if the
|
||||||
\fIenv_reset\fR
|
\fIenv_reset\fR
|
||||||
option has not been disabled, entries in the
|
option has not been disabled and the
|
||||||
\fIenv_keep\fR
|
\fIenv_keep\fR
|
||||||
list will override the value of
|
list contains
|
||||||
\fIset_logname\fR.
|
\fRLOGNAME\fR,
|
||||||
|
\fRUSER\fR
|
||||||
|
or
|
||||||
|
\fRUSERNAME\fR.
|
||||||
This flag is
|
This flag is
|
||||||
\fIon\fR
|
\fIon\fR
|
||||||
by default.
|
by default.
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
|
||||||
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
|
||||||
.\"
|
.\"
|
||||||
.Dd September 21, 2015
|
.Dd September 25, 2015
|
||||||
.Dt SUDOERS @mansectform@
|
.Dt SUDOERS @mansectform@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@@ -2454,12 +2454,18 @@ However, since some programs (including the RCS revision control system) use
|
|||||||
to determine the real identity of the user, it may be desirable to
|
to determine the real identity of the user, it may be desirable to
|
||||||
change this behavior.
|
change this behavior.
|
||||||
This can be done by negating the set_logname option.
|
This can be done by negating the set_logname option.
|
||||||
Note that if the
|
Note that
|
||||||
|
.Em set_logname
|
||||||
|
will have no effect
|
||||||
|
if the
|
||||||
.Em env_reset
|
.Em env_reset
|
||||||
option has not been disabled, entries in the
|
option has not been disabled and the
|
||||||
.Em env_keep
|
.Em env_keep
|
||||||
list will override the value of
|
list contains
|
||||||
.Em set_logname .
|
.Ev LOGNAME ,
|
||||||
|
.Ev USER
|
||||||
|
or
|
||||||
|
.Ev USERNAME .
|
||||||
This flag is
|
This flag is
|
||||||
.Em on
|
.Em on
|
||||||
by default.
|
by default.
|
||||||
|
Reference in New Issue
Block a user