> 1) No, the su uses the PATH of the original user.  Modify
> .bash_profile to include what you want for path.

If you supply the hyphen character after the su command, it will source
root's profile:

dave@host# su - root

> Question Two:
> In my .bash_profile file in my home directory I can alter my path
> settings, but some part of this path is inherited from some other file.
> Where is this file and can I edit it?

/etc/profile
/etc/bashrc

dave




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to