mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 09:57:41 +00:00
Sudo runs the command in a pty by default in 1.9.14 and above.
This commit is contained in:
parent
4da1f373de
commit
afb09e0044
@ -25,7 +25,7 @@
|
|||||||
.nr BA @BAMAN@
|
.nr BA @BAMAN@
|
||||||
.nr LC @LCMAN@
|
.nr LC @LCMAN@
|
||||||
.nr PS @PSMAN@
|
.nr PS @PSMAN@
|
||||||
.TH "SUDO" "@mansectsu@" "January 16, 2023" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
|
.TH "SUDO" "@mansectsu@" "June 18, 2023" "Sudo @PACKAGE_VERSION@" "System Manager's Manual"
|
||||||
.nh
|
.nh
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
.SH "NAME"
|
.SH "NAME"
|
||||||
@ -990,6 +990,8 @@ process passes the
|
|||||||
\fIcommand\fR's
|
\fIcommand\fR's
|
||||||
exit status to the security policy's close function, as well as the
|
exit status to the security policy's close function, as well as the
|
||||||
close function of any configured audit plugin, and exits.
|
close function of any configured audit plugin, and exits.
|
||||||
|
This mode is the default for sudo versions 1.9.14 and above when using
|
||||||
|
the sudoers policy.
|
||||||
.PP
|
.PP
|
||||||
If no pty is used,
|
If no pty is used,
|
||||||
\fBsudo\fR
|
\fBsudo\fR
|
||||||
@ -1031,6 +1033,8 @@ Both
|
|||||||
and
|
and
|
||||||
\fIpam_setcred\fR
|
\fIpam_setcred\fR
|
||||||
are enabled by default on systems using PAM.
|
are enabled by default on systems using PAM.
|
||||||
|
This mode is the default for sudo versions prior to 1.9.14 when using
|
||||||
|
the sudoers policy.
|
||||||
.PP
|
.PP
|
||||||
On systems that use PAM, the security policy's close function
|
On systems that use PAM, the security policy's close function
|
||||||
is responsible for closing the PAM session.
|
is responsible for closing the PAM session.
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
.nr BA @BAMAN@
|
.nr BA @BAMAN@
|
||||||
.nr LC @LCMAN@
|
.nr LC @LCMAN@
|
||||||
.nr PS @PSMAN@
|
.nr PS @PSMAN@
|
||||||
.Dd January 16, 2023
|
.Dd June 18, 2023
|
||||||
.Dt SUDO @mansectsu@
|
.Dt SUDO @mansectsu@
|
||||||
.Os Sudo @PACKAGE_VERSION@
|
.Os Sudo @PACKAGE_VERSION@
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -934,6 +934,8 @@ process passes the
|
|||||||
.Ar command Ns 's
|
.Ar command Ns 's
|
||||||
exit status to the security policy's close function, as well as the
|
exit status to the security policy's close function, as well as the
|
||||||
close function of any configured audit plugin, and exits.
|
close function of any configured audit plugin, and exits.
|
||||||
|
This mode is the default for sudo versions 1.9.14 and above when using
|
||||||
|
the sudoers policy.
|
||||||
.Pp
|
.Pp
|
||||||
If no pty is used,
|
If no pty is used,
|
||||||
.Nm
|
.Nm
|
||||||
@ -975,6 +977,8 @@ Both
|
|||||||
and
|
and
|
||||||
.Em pam_setcred
|
.Em pam_setcred
|
||||||
are enabled by default on systems using PAM.
|
are enabled by default on systems using PAM.
|
||||||
|
This mode is the default for sudo versions prior to 1.9.14 when using
|
||||||
|
the sudoers policy.
|
||||||
.Pp
|
.Pp
|
||||||
On systems that use PAM, the security policy's close function
|
On systems that use PAM, the security policy's close function
|
||||||
is responsible for closing the PAM session.
|
is responsible for closing the PAM session.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user