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

Re: bash login for root



On Thu, Sep 14, 2000 at 07:38:27AM -0500, Nate Bargmann wrote:
> On Wed, Sep 13, 2000 at 10:54:17PM -0500, Will Trillich wrote:
> > 
> > in my thinking, that reason would be:
> > 
> > 	home directory for user 'root' is /root.
> > 
> > :)
> 
> You caught me!  What I meant was that Bash looks for .profile in /root
> instead of .bash_profile as with normal users.  Yes, I'm well aware
> /root is the home directory for the 'root' user.  Doh!

actually i think bash looks for ~/.profile first and ~/.bash_profile
last.  and iirc only uses one, not both.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

Attachment: pgpCGZPkodLxz.pgp
Description: PGP signature


Reply to: