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

Re: .bash_profile not being processed




On Wed, 2 Dec 1998, Santiago Vila Doncel wrote:

> On Wed, 2 Dec 1998, Lindsay Allen wrote:
> 
> > [...]
> > When I rename .bash_profile to .bash_login nothing changes, but when I
> > change its name to .profile it does get processed during login and I get
> > root's correct path. 
> 
> Are you sure that /bin/bash is your login shell for root and not /bin/sh?

Doh!   Blush.   What can I say?  Thanks, that certainly clears that
problem.  

The situation did not arise until I installed a 2.1.x kernel in mid
November.  At home I rarely reboot and I leave root logged in for months
on vt1, so root's shell could have been changed long ago.  I guess I'll
never know how it happened.

Thanks,
Lindsay

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <allen@cleo.murdoch.edu.au>  Perth, Western Australia
voice +61 8 316 2486    modem +61 8 364-9832      32S, 116E vk6lj
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 


Reply to: