On Sunday 22 March 2015 14:36:36 Jc García wrote: > 2015-03-22 4:30 GMT-06:00 Peter Humphrey <pe...@prh.myzen.co.uk>: > > On Saturday 21 March 2015 16:20:17 Jc García wrote: > >> > Interesting. But as I said ealier, I can reboot the system when I am > >> > a > >> > user by Ctrl+Alt+Delete. The user can reboot the system, but can't > >> > shut > >> > down? Strange > >> > >> It's not strange, `man 2 reboot`. It's a defined behavior. > > > > I'm with German here. Being designed that way doesn't stop it being > > strange. > I see it as a last resource available for rebooting under any > circumstances( Similar to what you can do with Sysrq). > > > Consider: I'm an ordinary user sitting at a terminal. I'm not allowed to > > halt the machine, but I am allowed to reboot it into perhaps some quite > > other configuration. Or I can keep rebooting it over and again, > > effectively preventing the machine from doing its job. How does that > > make sense? > It doesn't and that's why it's configurable, if you are in a high > security requiring environment, you disable it.
The consensus seems to be that there's no point in trying to prevent a user from rebooting the machine, and I'm happy to go along with that. The remaining question is: why is the user not allowed to halt it? -- Rgds Peter.