Thank you, Mikkel

Drew

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mikkel L. Ellertson
Sent: Saturday, January 06, 2001 3:54 PM
To: RedHat general mailling list
Subject: Re: RH 7 and /sbin


On Sat, 6 Jan 2001, Drew Hunt wrote:

> For some reason, both of my RH7.0 installs do not include /sbin in the
> default PATH.  How do I add this to the default list so I don't have to
> reset the PATH everytime I log on?
> 
> Thanks,
> Drew
> [EMAIL PROTECTED]
> 
> 
It isn't included in your path as a normal user, or as root?  /sbin and
/usr/sbin are not normaly included in a normal user's path.  If you want
to add it to a normal user's path, then it depends on what shell the user
is using, and if you want it for one user, or all users.

If you want to add it for just one user, and you use Bash as your shell,
edit .bash_profile in your home directory and add:
PATH=$PATH:/sbin:/usr/sbin
export PATH

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to