public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "JimD" <Jim@keeliegirl.dyndns.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] sudo difficulties
Date: Wed, 5 Apr 2006 19:50:33 -0400 (EDT)	[thread overview]
Message-ID: <44899.127.0.0.1.1144281033.squirrel@localhost> (raw)
In-Reply-To: <49bf44f10604051645t673f8d84v2d97535b17a3d4b7@mail.gmail.com>

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



  reply	other threads:[~2006-04-06  0:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-05 23:45 [gentoo-user] sudo difficulties Grant
2006-04-05 23:50 ` JimD [this message]
2006-04-06  0:06   ` Grant
2006-04-06  0:17     ` Manuel McLure
2006-04-06  0:30     ` JimD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44899.127.0.0.1.1144281033.squirrel@localhost \
    --to=jim@keeliegirl.dyndns.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox