From owner-freebsd-questions@FreeBSD.ORG Sat Aug 11 21:21:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6B016A417 for ; Sat, 11 Aug 2007 21:21:10 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 55EB413C45B for ; Sat, 11 Aug 2007 21:21:10 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from [192.168.1.11] (tripel [192.168.1.11]) by mail.monochrome.org (8.13.8/8.13.8) with ESMTP id l7BL2ADO050128; Sat, 11 Aug 2007 17:02:11 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Sat, 11 Aug 2007 17:01:46 -0400 (EDT) From: Chris Hill To: Tim Daneliuk In-Reply-To: <46BE2217.3060607@tundraware.com> Message-ID: <20070811165651.P75818@tripel.monochrome.org> References: <46BE2217.3060607@tundraware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Mailing List Subject: Re: Disabling Shutdown Option On xfce4 Exit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2007 21:21:11 -0000 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 <|> ]