On Fri, 2003-09-05 at 15:46, Michael Schwendt wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 5 Sep 2003 16:16:32 -0400, Mark Haney wrote: > > > Jonathan Bartlett wrote: > > > Remember that "su -" will alter your environment to include /sbin and > > > /usr/sbin, while "su" will not. > > > > I did not know that. In all the years I've been doing this, I've never > > heard that. A day is not wasted when you learn something new. Thanks > > for the tidbit. > > You can't imagine how many users don't know about "su -" and only use > "su" and then think it's necessary to enter the absolute path to > programs. > > - -- > "su -" is short for "su --login root" or "su -l root". >
yep and I find that since I do so much with system commands as a user that I just add /sbin:/usr/sbin/ to my path in ~/.bash_profile: PATH=$PATH:$HOME/bin:/usr/sbin:/sbin: saves me from being root for a lot of mundane tasks also setup sudo to let me do anything as root in one time shots that also makes me think about who I am Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list