Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2007 17:01:46 -0400 (EDT)
From:      Chris Hill <chris@monochrome.org>
To:        Tim Daneliuk <tundra@tundraware.com>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Disabling Shutdown Option On xfce4 Exit
Message-ID:  <20070811165651.P75818@tripel.monochrome.org>
In-Reply-To: <46BE2217.3060607@tundraware.com>
References:  <46BE2217.3060607@tundraware.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sat, 11 Aug 2007, Tim Daneliuk wrote:

> 'Anyone know how to disable the shutdown option when xfce4 exits? The 
> user in question needs sudo access to the system, but I don't want 
> this user to be able to turn off a server when they exit the xfce4 
> session.

I have a couple of methods that don't directly address the question:

1) Don't allow the user to execute /sbin/shutdown - can be done via sudo 
configuration (I think), or via group memebership for that user (I 
know). The shutdown item will still be there, but will fail if he clicks 
it.

2) Don't run X on a server

HTH.

--
Chris Hill               chris@monochrome.org
**                     [ Busy Expunging <|> ]



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070811165651.P75818>