Re: shutdown permission to users?
You may find this old trick works. Create a "captive account", one that
does not have a regular shell, rather runs a command - in this case
/usr/sbin/shutdown. The account name might be "shutdown". Give it a
password that makes sense in your home.
>
> How can I give my users or a group permision to
> shutdown and halt the machine?
>
> I have added /etc/shutdown.allow containing the users
> names, as per Running Linux 3rd Ed. page 77. (I
> seperated the names with newlines.)
>
> This did not work. I notice that the group and world
> permission bits for reading and executing shutdown are
> on but still no go. When I try to shutdown as a
> normal user is says I have to be root or superuser.
>
> Your help is appreciated.
>
> ASIDE:
> Note for you security concious peeps, the machine is
> in my home no networked and the users are my family
> members.
>
> Markout.
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: