Re: question about fdisk

From: larry collier <larry@medease.com>
Date: Thu Oct 13 2005 - 16:11:58 AKDT

according to man/info pages and the experiment I just did on my FC3
system --

su (w/o dash) changes user & privleges to root but leaves path, current
directory, and most other stuff as before.

su - changes everything to root -- as though, at login, you had entered
"root".

CentOS is RedHat Enterprise and I'd expect it to act the same. Never
used Mandrake.

Joshua, is your su aliased?

Larry

Joshua Kugler wrote:
> On Thursday 13 October 2005 14:49, Jon Reynolds wrote:
>
>>captgoodnight captgoodnight wrote:
>>
>>>man su
>>>
>>>and
>>>
>>>Try logging in as root.
>>>
>>>
>>>bests,
>>>eddie
>>
>>A little gem from JimG, it would be 'su -'. The '-' says to use roots path.
>
>
> Hmm...then Mandrake and CentOS must modify how they execute su, because when I
> do a straight su (not 'su -'), I get the sbin's in my path.
>
> j----- k-----
>
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Thu Oct 13 16:12:20 2005

This archive was generated by hypermail 2.1.8 : Thu Oct 13 2005 - 16:12:20 AKDT