Date: Mon, 25 Aug 1997 22:14:04 +0200 From: Sheldon Hearn <axl@iafrica.com> To: Charles Mott <cmott@SNAKE.srv.net> Cc: freebsd-questions@freebsd.org Subject: Re: su and PS1 Message-ID: <9073.872540044@axl.iafrica.com> In-Reply-To: Your message of "Mon, 25 Aug 1997 11:06:21 MST." <Pine.BSF.3.96.970825105632.8496A-100000@darkstar.home>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] > Why don't you update the manpage and submit it one of the core team or > developers for inclusion in the FreeBSD distribution. I'm sure they would > be quite open to this. I've used send-pr to submit the attached patch for the su.1 manpage. Regards, Sheldon. [-- Attachment #2 --] --- su.1.ORIG Wed Aug 13 08:38:16 1997 +++ su.1 Mon Aug 25 21:25:42 1997 @@ -157,10 +157,19 @@ .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 ,help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9073.872540044>
