On Wed, 23 Jan 2002 21:14:52 -0500 John P Verel <[EMAIL PROTECTED]> implied:
> 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. su - That gets the environment. If you have more than one user and want to su to that su - <username> man su -- If at first you don't succeed, just give the OS some pretty colors. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list