[4905] in RedHat Linux List
Re: Adding more paths to a user...
daemon@ATHENA.MIT.EDU (Thomas L Mills)
Mon Nov 18 01:20:03 1996
From: "Thomas L Mills" <Thomas.L.Mills@blackhole.dimensional.com>
To: redhat-list@redhat.com
Date: Sun, 17 Nov 1996 23:02:07 +0000
Reply-to: tmills@dimensional.com
X-Confirm-Reading-To: tmills@dimensional.com
Resent-From: redhat-list@redhat.com
> 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. Whether it's a standalone machine, a machine on a dialup
that you just wanna let freinds telnet into, or what, it is my
opinion that you do not want that in your path. If you want access to
those commands, many of which will still want to see the 0 uid btw,
then su as root.
I am also kinda new to linux, and when I ask a seasoned operator or
Admin for help, they answer my questions as if everything was
where it should be.
When you go to run some of these commands as the user account, they
will still not work, it'll just say perm denied, so you will also
have to change ownership or group rights if you must.
/me shrugs and wanders back into the lab with the LART in hand...
Tom Mills System Administrator
tmills@dimensional.com ccd.cccoes.edu
Community College of Denver
--
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