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 -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?
> 
> Thanks,
> David
> 
> PS: Just trying to understand a bit more about Linux.
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



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

Reply via email to