/etc/init.d in the default $PATH ?

Thomas M Steenholdt tmus at tmus.dk
Mon Jan 29 08:09:19 UTC 2007


Peter Gordon wrote:
> Straight from the Filesystem Hierarchy Standard, version 2.3 (emphasis
> mine):
> 
> "/sbin : System binaries
> Purpose
> Utilities used for system administration (and other *root-only*
> commands) are stored in /sbin, /usr/sbin, and /usr/local/sbin. /sbin
> contains binaries essential for booting, restoring, recovering, and/or
> repairing the system in addition to the binaries in /bin. [...]"
> 
> The /sbin/ (and /usr/sbin, et al.) stuff is specifically meant for
> administrative utilities. Having it in a user's PATH makes no sense when
> they are not meant to use these. And, if they *are* meant to use them,
> then it's likely that they need at least limited root privileges, so
> sudo or something similar should be configured for the purpose, not
> merely some PATH munging.
> 

Absolutely!

/Thomas




More information about the fedora-devel-list mailing list