[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Allowing any user to shutdown from gnome

-----Original Message-----
From: David Fokkema [mailto:dfokkema@ileos.nl]
Sent: Wednesday, October 01, 2003 9:09 AM
To: debian list
Subject: Re: Allowing any user to shutdown from gnome

On Wed, 2003-10-01 at 13:34, Ben Edwards wrote:
> On Mon, 2003-09-29 at 11:00, Martin Jungowski wrote:
> > You can also set SUID on shutdown and add a Launcher to your Panel or
> > Desktop in GNome.
> Managed to SUID Root on shutdown (chmod a+s /sbin/shutdown) and can
> shutdown from a command line but how do I add to the launcher.  I tried
> one with the command '/sbin/shutdown -h now' but it douse not work.

I really wouldn't recommend this if you care about security the tiniest
bit. Do you want EVERYONE (even remote users) to be able to shutdown
_your_ system while _you_ are working with it?


If you are bent on giving a specific user the ability to shutdown or reboot,
I would recommend doing so with sudo.  That way, you can target one user for
give limited root privileges, without SUIDing restricted commands.

To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact

Reply to: