Why use "su -" rather than "su"

Tony Nelson tonynelson at georgeanelson.com
Fri Jul 15 17:40:05 UTC 2005


At 11:06 AM -0500 7/15/05, Mike McCarty wrote:
>Paul Howarth wrote:
>
>> Mike McCarty wrote:
 ...
 [su]
>>> What am I missing?
>>
>>
>> You're missing getting /sbin and /usr/sbin on your PATH, which you
>> probably want for what you're about to do as root. If you already have
>> those directories on your regular user's PATH (which is not the
>> default), "su -" probably doesn't help you much. But it does for most
>> people.
>>
>> Paul.
>>
>Hmm. So I give up my regular editor in return for not having to type /sbin/

"gedit &" works for me, whether I'm root or not.  I expect that something
similar would work for you.
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list