Re: sbin and /usr/sbin

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

 



yea ... hehe .. after writing that.. I was looking for an example in Solaris.. and couldn't find it.. but *sbin was in my path :-/ ... we have a "CUE" (common user environment) that pollutes every single "standard" user setup AT SUN ... :) thats where I got my SBIN path the way I wanted it.. but I do like that it is not TOO HARD to make it the way _I_ like it :) .. I like the pathmunge :)

Tommy

--On Saturday, November 23, 2002 8:17 AM -0500 "Mike A. Harris" <mharris@redhat.com> wrote:

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


--
Tommy McNeely      --     Tommy.McNeely@Sun.COM
Sun Microsystems - IT Ops - Broomfield Campus Support
Phone:  x50888 / 303-464-4888   --  Fax:  720-566-3168
Pager:  800-200-5968 / 2005968@skytel.com



--
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