Re: sbin and /usr/sbin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Nov 2002, Tommy McNeely wrote:

>Date: Fri, 22 Nov 2002 16:32:34 -0700
>From: Tommy McNeely <Tommy.McNeely@Sun.COM>
>To: psyche-list@redhat.com
>Content-Type: text/plain; charset=us-ascii; format=flowed
>List-Id: Discussion of Red Hat Linux 8.0 (Psyche) <psyche-list.redhat.com>
>Subject: sbin and /usr/sbin
>
>
>in /etc/profile, I have had to comment out the "if" and "fi" lines to make 
>the "sbin" paths automatically be part of a "users" path.. (like for 
>traceroute)...  why do I have to do this??
>
># Path manipulation
>#if [ `id -u` = 0 ]; then
>        pathmunge /sbin
>        pathmunge /usr/sbin
>        pathmunge /usr/local/sbin
>#fi
>
>
>just cause its in the sbin path does not mean that only root can run it... 
>sbin is for "static-binaries" right??

/sbin and /usr/sbin have never been part of a user's path in 
traditional Unix and Linux systems.  While some distributions may 
possibly put these directories in users paths by default, it is 
by no means a standard.




-- 
Mike A. Harris		ftp://people.redhat.com/mharris
OS Systems Engineer
XFree86 maintainer
Red Hat Inc.



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux