Re: really confused about root's shell - please clue me up

2006-07-26 Thread Bill Marcum
On Mon, Jul 24, 2006 at 09:02:20PM +0200, LeVA wrote: > Hi! > > When my root's shell is `/bin/bash' in the /etc/passwd file, and I do > `su' as a simple user, then the root's .profile (/root/.profile) gets > executed. > After setting the root's shell to `/bin/sh', and do `su' as a simple > user

Re: really confused about root's shell - please clue me up

2006-07-24 Thread John Hasler
'man bash' and read the section titled INVOCATION. -- John Hasler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

really confused about root's shell - please clue me up

2006-07-24 Thread LeVA
Hi! When my root's shell is `/bin/bash' in the /etc/passwd file, and I do `su' as a simple user, then the root's .profile (/root/.profile) gets executed. After setting the root's shell to `/bin/sh', and do `su' as a simple user, then the root's .profile doesn't get executed until i run su as `