Mailinglist Archive: opensuse-features (195 mails)

< Previous Next >
[openFATE 312272] Move /sbin/lsinitrd, /sbin/lsmod, /sbin/lspci, /sbin/lspcmcia to %_bindir
Feature changed by: Sascha Peilicke (saschpe)
Feature #312272, revision 4
Title: Move /sbin/lsinitrd, /sbin/lsmod, /sbin/lspci, /sbin/lspcmcia to
%_bindir

openSUSE Distribution: Unconfirmed
Priority
Requester: Mandatory

+ Info Provider: (Novell)
Requested by: Johannes Obermayr (jobermayr)
Developer: Johannes Obermayr (jobermayr)
Partner organization: openSUSE.org

Description:
lsinitrd, lsmod, lspci, lspcmcia are located in /sbin and so only root
can access them. The 'ls' prefix indicates that these programs only
list some information which should be accessible by all users. lsusb is
in %_bindir (=/usr/bin). If you were consequently lsusb also would have
to be in /sbin or /usr/sbin ...

Business case (Partner benefit):
openSUSE.org: There absolutely is not any sense for having programs
just providing information in /sbin. How do you want to help people if
you need for example lspci's output and then people complain: "Absolute
path to 'lspci' is '/sbin/lspci', so running it may require superuser
privileges (eg. root)." Can you give me root's password? (security,
security, security, ...)

Discussion:
#1: Sascha Peilicke (saschpe) (2011-04-27 09:55:45)
Nonsense, the 'ls' prefix indicates nothing. Furthermore, the user can
happily invoke anything under /sbin (given propper permissions, which
is the case for /sbin/lspci). One minor difference is that /sbin isn't
part of a normal user's $PATH by default. Even more so, important tools
like lsmod, lspci can't reside under /usr/ as they are required at boot
time.
However, moving /sbin/lsinitrd to /bin may make sense.




--
openSUSE Feature:
https://features.opensuse.org/312272

< Previous Next >
List Navigation
This Thread
  • No further messages