Re: Allowing users to shutdown
On 26-Jan-00 Ethan Benson wrote:
>>ln -s /sbin/shutdown /usr/bin/shutdown
>>chmod a+s /sbin/shutdown
> ^^^^^^^^^^^^
>
> this will allow ANYONE on your system to shutdown or reboot your
> system, whether they are logged into gnome or logged in via ssh from
> anywhere..
>
> if security is not a big deal for you then this may be fine. but if
> you are concerned for security that is a very bad idea..
I agree 100%. I was just describing what I had done for single user
home setup. Shortly after I posted that message I was regretting not
having suggested a /usr/bin/shutdown script using sudo as a better idea
for many who read the list. Sorry.
Bill
---
Bill Wilson <bill@gkrellm.net>
Reply to: