On Tuesday 22 July 2003 10:47 am, Jima wrote:
>>  This is a good point to bring up.  With the default configuration of
> RedHat (and probably most distros), if you log in as root or use `su -`,
> it'll load root's environment, including putting /sbin & /usr/sbin in
> the $PATH.  If you use `sudo` or just `su`, though, it won't load the
> environment, and programs in /sbin and /usr/sbin won't run without the
> full path (i.e., /usr/sbin/program).  This was news to a few people at
> the installfest, and to this day catches me on occasion.
>  Possible solutions:
>
> a) log in directly as root
> b) use `su -`
> c) add /sbin & /usr/sbin to your $PATH
> d) be prepared to type full paths a lot

OR use tab completion :)
-- 
Thanks,

James Spinti
jspinti at dartdist dot com
952-368-3278 ext 396
fax 952-368-3255


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list