I frequently su from my user account to root.  According to the su info,
it starts a new interactive shell, leaving the environment unchanged.

What I'd like to do is:

        su to root
        pick up root's path
        pick up user's history file
        not change directory to ~/root, but keep the current directory

Can I do all this? Doing the first two is easy, especially by just
invoking su as a login shell.  But I can't figure how to do the last
two.

-- 
John P. Verel
Living Proof That Low Tech Beats High Tech!



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

Reply via email to