Red Hat has a somewhat complex setup involving PAM to allow users at the
console to do things that require root permission.
'halt' and 'reboot' are symlinks to the 'consolehelper' which is not
SUID, but it invokes 'userhelper' which is. The man page for userhelper
does not seem to reflect its
Thanks for explaining everything Gordon. :-)
I followed a suggestion on the previous post and found a symlink from reboot
in /usr/bin to consolehelper. And the manpage for consolehelper says it has
something to do with PAM (which is a complicated thing of course.) But
anyway, through this
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David wrote:
poweroff, which is the legalised command for non-root users to shutdown
the system. So everything works great with that. Looks like the old shutdown
command should be unlearned. :-)
Not if you want to learn _Unix_ (as opposed to only
Hi,
I found that I can reboot my RedHat 7.1 system as an ordinary user by
executing 'reboot' on the commandline. However, I can't shutdown/reboot my
system using 'shutdown -h now' or 'shutdown -r now' as an ordinary user. I
can only do this as root. However, the manpage for reboot (which is a
whereis shutdown
whereis reboot
whereis halt
There is your answer
Jared
On Sun, 2002-02-03 at 03:14, David wrote:
Hi,
I found that I can reboot my RedHat 7.1 system as an ordinary user by
executing 'reboot' on the commandline. However, I can't shutdown/reboot my
system using 'shutdown
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David wrote:
I found that I can reboot my RedHat 7.1 system as an ordinary user by
executing 'reboot' on the commandline. However, I can't
shutdown/reboot my system using 'shutdown -h now' or 'shutdown -r
now' as an ordinary user. I can only do this