]> granicus.if.org Git - sudo/commitdiff
Document that PAM session modules are now run with the silent flag.
authorTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 19 Jul 2019 16:38:53 +0000 (10:38 -0600)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Fri, 19 Jul 2019 16:38:53 +0000 (10:38 -0600)
doc/sudoers.man.in
doc/sudoers.mdoc.in

index 3af9cc3fdf2033908d40b68a4a7664916b0f5de1..8f5f5be71dbb12f1f24e242cb5cb555ec2b66cb5 100644 (file)
@@ -25,7 +25,7 @@
 .nr BA @BAMAN@
 .nr LC @LCMAN@
 .nr PS @PSMAN@
-.TH "SUDOERS" "@mansectform@" "July 12, 2019" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
+.TH "SUDOERS" "@mansectform@" "July 19, 2019" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
 .nh
 .if n .ad l
 .SH "NAME"
@@ -2761,6 +2761,17 @@ pam_session
 On systems that use PAM for authentication,
 \fBsudo\fR
 will create a new PAM session for the command to be run in.
+Unless
+\fBsudo\fR
+is given the
+\fB\-i\fR
+or
+\fB\-s\fR
+options, PAM session modules are run with the
+\(lqsilent\(rq
+flag enabled.
+This prevents last login information from being displayed for every
+command on some systems.
 Disabling
 \fIpam_session\fR
 may be needed on older PAM implementations or on operating systems where
index 8cb4470a4b3764f03dc0310acd4936b41263a492..f2c37b7672d1343a7f8eaa8647d14d38b014cbad 100644 (file)
@@ -24,7 +24,7 @@
 .nr BA @BAMAN@
 .nr LC @LCMAN@
 .nr PS @PSMAN@
-.Dd July 12, 2019
+.Dd July 19, 2019
 .Dt SUDOERS @mansectform@
 .Os Sudo @PACKAGE_VERSION@
 .Sh NAME
@@ -2598,6 +2598,17 @@ This setting is only supported by version 1.8.28 or higher.
 On systems that use PAM for authentication,
 .Nm sudo
 will create a new PAM session for the command to be run in.
+Unless
+.Nm sudo
+is given the
+.Fl i
+or
+.Fl s
+options, PAM session modules are run with the
+.Dq silent
+flag enabled.
+This prevents last login information from being displayed for every
+command on some systems.
 Disabling
 .Em pam_session
 may be needed on older PAM implementations or on operating systems where