Re: Root path
Dagmar d'Surreal (dagmar@dsurreal.org)
Tue, 19 Jan 1999 14:47:46 -0600 (CST)
On 19 Jan 1999, Tomas Duewiger wrote:
> Bruce Richardson <brichardson@lineone.net> writes:
>
> > Although I do as much work as possible as a user, I do occasionaly use X
> > as root. I notice that (on my set-up, at least - RH 5.1, AS 1.6.6)
> > /usr/local/bin is not added to the path when I startx as root. Is this a
> > security feature?
>
> Don't know if this is because of security, I don't see a reason. I only
> think that there are usually no programs in /usr/local/ that are of
> interest for root (sbin is far more interesting ;-)) If you would use 'su'
> /usr/local/ would be included in your PATH.
Not really. It's mainly because if you're doing things as root, you might
attempt to unmount the partition containing /usr/local/ and that would
cause ugly things to happen, especially if you were running something that
was linked to a library in /usr/local/lib...
--
WWW: http://www.afterstep.org/
FTP: ftp://ftp.afterstep.org/
MAIL: http://www.caldera.com/linuxcenter/forums/afterstep.html