aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/su
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-09-13 17:44:20 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-09-13 17:44:20 +0000
commitfab8812d17d5fcae8feabcd1fa2bcd2b2936e1c7 (patch)
tree9a770170bc35a305ba6c80681ee4b98c31761565 /usr.bin/su
parentc7a197e1d86bee3df8df57c8f0295ef6ff70d5fb (diff)
downloadsrc-fab8812d17d5fcae8feabcd1fa2bcd2b2936e1c7.tar.gz
src-fab8812d17d5fcae8feabcd1fa2bcd2b2936e1c7.zip
PR: docs/4383
su manpage ambiguous regarding command prompt Submitted by: sheldonh@iafrica.com
Notes
Notes: svn path=/head/; revision=29333
Diffstat (limited to 'usr.bin/su')
-rw-r--r--usr.bin/su/su.119
1 files changed, 14 insertions, 5 deletions
diff --git a/usr.bin/su/su.1 b/usr.bin/su/su.1
index 17d2ae31318a..4380718f25c2 100644
--- a/usr.bin/su/su.1
+++ b/usr.bin/su/su.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)su.1 8.2 (Berkeley) 4/18/94
-.\" $Id: su.1,v 1.9 1997/08/12 06:45:43 charnier Exp $
+.\" $Id: su.1,v 1.10 1997/08/30 12:22:48 jmg Exp $
.\"
.\" this is for hilit19's braindeadness: "
.Dd April 18, 1994
@@ -157,10 +157,19 @@ to
.Dq root ,
unless this group is empty.
.Pp
-By default (unless the prompt is reset by a startup file) the super-user
-prompt is set to
-.Dq Sy \&#
-to remind one of its awesome power.
+When using
+.Nm
+to become super-user, note that the invoked shell dictates the new
+command prompt and not
+.Nm su .
+Even when
+.Nm
+is invoked with the
+.Fl l
+option, the command prompt is still determined by the shell's startup
+files, specifically their manipulation of the
+.Ev PS1
+variable.
.Sh SEE ALSO
.Xr csh 1 ,
.Xr kerberos 1 ,