works like magic thanks
----- Original Message -----
From: "Scot L. Harris" <webid@xxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Thursday, August 11, 2005 10:19 AM
Subject: Re: su not the same as login
On Thu, 2005-08-11 at 11:15, Steven J Lamb wrote:
I know this is most likely a newbie question, however, I have noticed
that the env that I have after su is not the same as if I have logged
in as root. how would I fix that
Use a - (dash) after the su command:
su -
This will use roots environment.
Same applies if you su to another user:
su - steven
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list