Re: [opensuse] Absolute path is /sbin/*
On Wed, Oct 9, 2013 at 9:27 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
this somehow arbitrary division exists for binaries that should only be called as root, it is a legacy from the good old times and currently does not make much sense because /sbin/reboot is a link to systemctl which will either proceed to reboot the machine if the user you are running CanReboot() or ask you for a root password.
Ok but I beleive there can many more commands like /sbin/reboot and it was just an example. -- Life and death. At some point we're gonna leave this world. Do I know when? Absolutely not. --- Terrell Owens Just I dislike pain, so all other beings dislike pain. Live and let live. --- Mahavir Bhagwan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 09/10/13 14:28, AP escribió:
Ok but I beleive there can many more commands like /sbin/reboot and it was just an example.
Yes, there are many more, but all for the same reason: backward compatibility. most of them are symlinks, others have not yet been moved to /usr. It is from the times that booting without /usr mounted in the initrd was considered desirable or good. cold hard reality is pretty different though --> http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/ -- "If debugging is the process of removing bugs, then programming must be the process of putting them in." - Edsger Dijkstra -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
AP
-
Cristian Rodríguez