Re: /etc/profile should include sbin in PATH
- To: Remco van de Meent <remco@dnd.utwente.nl>
- Cc: Ben Collins <bcollins@debian.org>, Ben Gertzfield <che@debian.org>, Greg Stark <gsstark@mit.edu>, debian-devel@lists.debian.org
- Subject: Re: /etc/profile should include sbin in PATH
- From: Craig Sanders <cas@taz.net.au>
- Date: Mon, 20 Dec 1999 09:12:50 +1100
- Message-id: <[🔎] 19991220091250.I22466@taz.net.au>
- Mail-followup-to: Remco van de Meent <remco@dnd.utwente.nl>, Ben Collins <bcollins@debian.org>, Ben Gertzfield <che@debian.org>, Greg Stark <gsstark@mit.edu>, debian-devel@lists.debian.org
- In-reply-to: <[🔎] 19991219223351.A27506@dnd.utwente.nl>; from remco@dnd.utwente.nl on Sun, Dec 19, 1999 at 10:33:31PM +0100
- References: <[🔎] 87yaaqvfdj.fsf@HSE-Montreal-ppp19485.qc.sympatico.ca> <[🔎] 19991219215736.A26960@dnd.utwente.nl> <[🔎] yttvh5uhc00.fsf@gilgamesh.cse.ucsc.edu> <[🔎] 19991219221602.A27245@dnd.utwente.nl> <[🔎] 19991219162531.X13032@lappy.djj.state.va.us> <[🔎] 19991219223351.A27506@dnd.utwente.nl>
On Sun, Dec 19, 1999 at 10:33:31PM +0100, Remco van de Meent wrote:
> Huh? I'm only quoting FHS. Which we seem to try to follow, according
> to the Policy every Debian maintainer has to obeye (why bother having
> Policy otherwise). FHS clearly sais that programs that are being run
> by ordinary users should be in *bin, not in *sbin. So the fix to the
> problem is IMHO not that *sbin is put in PATH, but that traceroute et
> al are moved.
the trouble with that "fix" is that it is likely to break local scripts
which call /sbin/ifconfig and others directly - i know i've written
scripts which do this just to avoid any path problems caused by the
default path not including /sbin and /usr/sbin.
adding "/usr/local/sbin:/usr/sbin:/sbin" to the PATH solves the problem
and is unlikely to cause any other problems - permissions will prevent
any misuse of dangerous tools. like many others, adding this to the
PATH in /etc/profile is one of the first things i do when i build a new
system.
craig
--
craig sanders
Reply to: