mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +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 LC @LCMAN@
|
||||
.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
|
||||
.if n .ad l
|
||||
.SH "NAME"
|
||||
@ -990,6 +990,8 @@ process passes the
|
||||
\fIcommand\fR's
|
||||
exit status to the security policy's close function, as well as the
|
||||
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
|
||||
If no pty is used,
|
||||
\fBsudo\fR
|
||||
@ -1031,6 +1033,8 @@ Both
|
||||
and
|
||||
\fIpam_setcred\fR
|
||||
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
|
||||
On systems that use PAM, the security policy's close function
|
||||
is responsible for closing the PAM session.
|
||||
|
@ -24,7 +24,7 @@
|
||||
.nr BA @BAMAN@
|
||||
.nr LC @LCMAN@
|
||||
.nr PS @PSMAN@
|
||||
.Dd January 16, 2023
|
||||
.Dd June 18, 2023
|
||||
.Dt SUDO @mansectsu@
|
||||
.Os Sudo @PACKAGE_VERSION@
|
||||
.Sh NAME
|
||||
@ -934,6 +934,8 @@ process passes the
|
||||
.Ar command Ns 's
|
||||
exit status to the security policy's close function, as well as the
|
||||
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
|
||||
If no pty is used,
|
||||
.Nm
|
||||
@ -975,6 +977,8 @@ Both
|
||||
and
|
||||
.Em pam_setcred
|
||||
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
|
||||
On systems that use PAM, the security policy's close function
|
||||
is responsible for closing the PAM session.
|
||||
|
Loading…
x
Reference in New Issue
Block a user