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

/etc/profile should include sbin in PATH

/etc/profile currently sets the PATH to:


It should include /usr/sbin and /sbin in the PATH. While these directories are
intended to contain binaries mainly useful to the administrator it was never
intended that these binaries should be denied to normal users.

Many binaries in these directories serve dual purposes and are useful to both
normal users and the administrator, For example ifconfig, lsmod, traceroute
all live in /usr/sbin or /sbin.

We could move these binaries to /usr/bin and /bin and restrict sbin to _only_
binaries that are only useful to root, but that would be a new and different
interpretation from the original intent. The original intent was merely to
separate the binaries by purpose, not to exclude normal users from access to

Personally I think separating the binaries according to purpose was always a
bad idea and likely to invite misinterpretations such as this.


Reply to: