[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New Install



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] hamish@silly:~> su -
Password:
/local/home/root$ 
/local/home/root$ 
/local/home/root$ 
/local/home/root$ logout
[8:46pm] hamish@silly:~> 


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              hamish@debian.org, hamish@rising.com.au
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 to: