On Wednesday, June 07 2000, Ryan King may have said:

> Sorry if this is OT or a FAQ, but why does neither RH6.1 or RH6.2 include
> /sbin/ in root's path?
> 
> I've been brainstorming to try to conceive of a case where this is
> advantageous, but have come up empty-handed and confused.  Any insight
> will help ease my distressed soul.

Umm...  are you sure didn't just do a 'su' instead of a 'su -'?  Just
running su by itself will inherit the environment already present intead
of getting a login shell for root.  Logging in as root at a console
(something you should never do, but nevertheless :) gives me /usr/sbin
and /sbin both in my path as expected

Jeremy

-- 
Jeremy Katz
[EMAIL PROTECTED]    | [EMAIL PROTECTED]
http://linuxpower.org   | Developer, NCSU Realm Kit for RHL
GPG fingerprint: 367E 8B6B 5E57 2BDB 972A 4D73 C83C B4E8 89FE 392D

QOTD:
Life is difficult because it is non-linear.

PGP signature

Reply via email to