Matt Shields schrieb am 08.07.2007 14:32:
On 7/8/07, Ignacio Vazquez-Abrams ivazqueznet@gmail.com wrote:
On Sat, 2007-07-07 at 22:51 -0700, Robert - eLists wrote:
Greetings
On centos 5, if I ssh in as a regular non-superuser account and go to the sbin dir to issue a reboot command, it wont do it as says you must be superuser
If you are on the console logged in as a non-superuser account and do the same thing, it will reboot.
Is this a feature, or a bug?
If you're at the console you can usually just push the reset or power button *anyways*, so it's a non-bug. I believe you can edit the appropriate entries in /etc/pam.d if you really want to change this.
Not necessarily true. Lots of people use remote KVM's :) So just because someone has access to the console does not mean they have physical access to the server.
That's true, but you can push CRTL-ALT-DEL and the computer reboots, even if you're not logged in.
Greets René