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

[ale] .profile doesn't work



> 
> I have a user whose .profile does not run when he logs in, mine works fine.  Any suggestions?
> Here is the .profile we are running
> 
> echo Hello Dan
> 
> kernel 2.0.11
> Thanks  David

Since you're dealing with profiles I'm presuming you're using bash.

If that's the case you need to take a read of the man page. bash has a
somewhat complex sequence of profile reading. And if I remember correctly
that .profile could possibly be skipped if a .bash_profile or a .bashrc
file exists too. 

I didn't review the man page before writing this so I'm not sure of the
accuracy of the above statement. But I'm sure the sequence is in the man page.

So take a read...

BAJ