Red Hat Bugzilla – Bug 18378
shutdown in usermod
Last modified: 2013-07-02 18:54:18 EDT
shutdown that comes with usermod still allows any user to shutdown a
Fixed in other RH version but it still in RH7.0 , so is this a bug or a
Are these users logged in at the console when they shut the machine down? If
so, then it is working as designed (given shutdown and a power switch, shutdown
is preferable). If the user is not logged in at the console and can shut the
machine down, it is a security bug.
[anyuser@machine anyuser]$ shutdown
shutdown: you must be root to do that!