On Tue, Mar 09, 1999 at 09:28:14AM -0600, ktb wrote:
> If your prompt is a "$" you are not logged in as root.  This is the regular 
> user

Not necessarily true.

[8:46pm] [EMAIL PROTECTED]:~> su -
Password:
/local/home/root$ 
/local/home/root$ 
/local/home/root$ 
/local/home/root$ logout
[8:46pm] [EMAIL PROTECTED]:~> 


My prompt is set in ~root/.profile to
PS1="\w\$ "

>From the bash manual page:

              \$     if  the effective UID is 0, a #, otherwise a
                     $

Goodness knows why this doesn't work.


Hamish

-- 
Hamish Moffatt VK3TYD              [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org

Reply via email to