From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FRHw0-0002JG-ER for garchives@archives.gentoo.org; Thu, 06 Apr 2006 00:01:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k36008nY031093; Thu, 6 Apr 2006 00:00:08 GMT Received: from ms-smtp-04.tampabay.rr.com (ms-smtp-04.tampabay.rr.com [65.32.5.134]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k35NoZ47017382 for ; Wed, 5 Apr 2006 23:50:35 GMT Received: from keelie.localdomain (151.179.121.70.cfl.res.rr.com [70.121.179.151]) by ms-smtp-04.tampabay.rr.com (8.13.4/8.13.4) with ESMTP id k35NoXJN000702 for ; Wed, 5 Apr 2006 19:50:34 -0400 (EDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by keelie.localdomain (Postfix) with ESMTP id 5E502DE5AB for ; Wed, 5 Apr 2006 19:50:33 -0400 (EDT) Received: from 127.0.0.1 (SquirrelMail authenticated user jim) by localhost with HTTP; Wed, 5 Apr 2006 19:50:33 -0400 (EDT) Message-ID: <44899.127.0.0.1.1144281033.squirrel@localhost> In-Reply-To: <49bf44f10604051645t673f8d84v2d97535b17a3d4b7@mail.gmail.com> References: <49bf44f10604051645t673f8d84v2d97535b17a3d4b7@mail.gmail.com> Date: Wed, 5 Apr 2006 19:50:33 -0400 (EDT) Subject: Re: [gentoo-user] sudo difficulties From: "JimD" To: gentoo-user@lists.gentoo.org User-Agent: SquirrelMail/1.5.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 34e399ba-4512-4307-856a-c0dda752a231 X-Archives-Hash: 4bb396427540851db4d2315c1bff92a9 On Wed, April 5, 2006 7:45 pm, Grant wrote: > I've added the following to the bottom of my sudo file using 'visudo' > and there are no complaints of bad syntax, but grant still can't shut down the system: > > grant system4 = /sbin/shutdown -h now > > What am I missing? > > > - Grant First try to edit one of the examples and see if that works. For example try this one: %users localhost=/sbin/shutdown -h now Replace %users with the group for grant. Jim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- I'm a geek, but I don't get it. 36-24-36 = -24. What's the significance? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Florida, USA, Earth, Solar System, Milky Way -- gentoo-user@gentoo.org mailing list