Flush out the last dregs in the terminal before quitting when
[unix-history] / usr / src / usr.bin / su / su.1
index 68198be..aad9ae1 100644 (file)
@@ -13,7 +13,7 @@
 .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
 .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 .\"
-.\"    @(#)su.1        6.5 (Berkeley) %G%
+.\"    @(#)su.1        6.6 (Berkeley) %G%
 .\"
 .TH SU 1 ""
 .UC
 .\"
 .TH SU 1 ""
 .UC
@@ -44,8 +44,9 @@ login's home directory.
 .PP
 The \fI-m\fP option causes the environment to remain unmodified, and
 the invoked shell to be your login shell.  No directory changes are
 .PP
 The \fI-m\fP option causes the environment to remain unmodified, and
 the invoked shell to be your login shell.  No directory changes are
-made.  As a security precaution, if the target login has no password,
-its shell is used, rather than yours.
+made.  As a security precaution, if the target shell is not a standard
+shell (as defined by \fIgetusershell\fP(3)) it is invoked instead of
+your login shell.
 .PP
 If the invoked shell is \fIcsh\fP, the \fI-f\fP option prevents it from
 reading the \fI.cshrc\fP file.  Otherwise, this option is ignored.
 .PP
 If the invoked shell is \fIcsh\fP, the \fI-f\fP option prevents it from
 reading the \fI.cshrc\fP file.  Otherwise, this option is ignored.