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
'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]
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
`
3 matches
Mail list logo