On Wed, Jun 07, 2000 at 06:29:42PM -0700, Joe Brenner wrote:
> 
> [EMAIL PROTECTED] (Ryan King) wrote:
> 
> > 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.
> 
> I would guess that the theory is that the stuff in /sbin is
> supposed to be either (a) useless or (b) dangerous to the
> typical user.  Myself, I don't regard it as such a bad thing
> that I need to type '/sbin/shutdown -h' when I want to do 
> a shutdown.  
That's *very* unorthodox.  I've used a range of Unices/Linux distros,
and I've never seen this before.

So this whole "protect the user from themselves" paradigm extends to
things like making 'addusr' inaccessible to root?

What about this "paradigm":  Warn users not to do enter commands as root
unless they know what the command will do.

Honestly, how often have you accidentally typed "shutdown -h", and then
found that "command not found: shutdown" message to save the day?

> (You do know that it's trivial to add /sbin to your path if
> you want it to be there, right?)
Of course, but at the same time this means that one has to do all that
path configuring on any given RedHat box that one encounters, which
is annoying.

No big deal... this is just one more thing on the long list of things
that I don't understand about RedHat's default setup.

 - Ryan King

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to