[5076] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Adding more paths to a user...

daemon@ATHENA.MIT.EDU (Mike Sangrey)
Mon Nov 18 21:39:06 1996

To: redhat-list@redhat.com
In-reply-to: Your message of "Sun, 17 Nov 1996 23:02:07 GMT."
             <199611180602.XAA00178@blackhole.dimensional.com> 
Date: Mon, 18 Nov 1996 21:33:23 -0500
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Thomas L Mills wrote:
> > On Sun, 17 Nov 1996, Craig Hoffman wrote:
> > 
> > > 	As root I'm able to run just about every program on the HD.  When
> > > I log in as a user, for some reason I cant run programs that are located
> > > in usr/sbin.  How do I add this path to the users normal path?
> > > 
> > > Thanks!
> > > 
> > > Craig
> > 
> > export PATH=$PATH:/usr/sbin
> > I forget where you can put this...anyone?
> 
> I really hate to break tradition. There are good reasons for this. 
> /usr/sbin is a SuperUser directory. That is why you cannot access it 
> as a user. 

You're essentially right, Tom.  Nearly all of the programs in /usr/sbin aren't 
to be run by the normal user.  In fact, there really aren't that many that 
you'd run as the root user either.  (e.g. uucico, in.ftpd, etc)  The purpose 
for this directory, if memory serves and it usually doesn't, is to contain 
system level binaries that aren't needed at boot up.  There are some other 
programs thrown in there, too, that would normally be put in /usr/bin, except 
that these programs don't provide utility to normal users (e.g. traceroot, 
which is kinda neat to see once or twice, but isn't useful unless you're 
debugging a network -- a sysadmin task.)

My advice:  If you absatively, positutely have to give ready access to user(s) 
who can't type the extra "/usr/sbin/" characters, then make an alias in their 
.profile/.login/.bash_profile/what-have-you.

-- 
  Mike Sangrey	<mike@sojurn.lns.pa.us>	(Home)
		<Mike.Sangrey@specmarkmet.com>(Work)
	"I've trademarked `William Della Croce, Jr.(tm)'.
		  Anyone using this name owes me $1,000,000."



--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post