-----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 as root. However, the
>manpage for reboot (which is a symlink to halt) says that 'shutdown
>-r now' is called when reboot is executed. But halt is not setuid. So
>how come I can reboot as a normal user?

I can't find anything in the man page to support this, but I suspect 
it has to do with console ownership ... the theory being that if you 
have console access, you can reboot the machine without the OS' 
permission anyway.  

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
- --
http://setiathome.ssl.berkeley.edu/pale_blue_dot.html

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPF1uAL9BpdPKTBGtEQKHxwCeMiIpzG/JdwSnvRqqY38F+O/0cegAoP7Z
Dnf3RCkm4FMlAyO5/pG3fajo
=ABPD
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to