public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fast Turtle <fturtle@gmail.com>
To: Gentoo User List <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions
Date: Fri, 7 Jun 2013 10:12:55 -0700	[thread overview]
Message-ID: <CAK2sGBU8p3icvTrPzLQfc+LgPRi4GygxmUKenN-X1-tcLxA2mg@mail.gmail.com> (raw)
In-Reply-To: <201306070649.41975.michaelkintzios@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

Took me a while to figure out what sudo was complaining about - my shutdown
line includes a 15 second delay  /sbin/shutdown -h 15 needed to be t=15.
Once I solved that, it quit complaining.

I'd though to simply take advantage of the already available line for the
wheel group being allowed to execute any command w/o a pw but thought
thrice about it and went the individual command route. Will be testing
quite soon now that I've got the sleep command working.


On Thu, Jun 6, 2013 at 10:49 PM, Mick <michaelkintzios@gmail.com> wrote:

> On Friday 07 Jun 2013 06:21:00 Fast Turtle wrote:
> > Turns out there's no shutdown group on my system now so it must be added
> > when kde is installed with powerdevil - oh well. Guess I'll have to
> either
> > create it or go the sudo route since I'm more concerned with what works.
>
> These are my relevant entries in /etc/sudoers to avoid entering a passwd:
>
> ME              BOX1 = NOPASSWD: /sbin/shutdown -h now
> ME              BOX1 = NOPASSWD: /sbin/shutdown -r now
> ME              BOX1 = NOPASSWD: /usr/sbin/hibernate
>
> after I have defined as:
>
> Host_Alias      BOX1 = <domain_name>  <--could also use IP address here <--
> User_Alias      ME = <my_username>
>
>
> PS. Don't forget to use visudo to edit your sudoers file.
> --
> Regards,
> Mick
>

[-- Attachment #2: Type: text/html, Size: 1885 bytes --]

  reply	other threads:[~2013-06-07 17:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 19:21 [gentoo-user] Fbpanel - Fluxbox - Gkrellm Questions Fast Turtle
2013-06-06 20:56 ` Mick
2013-06-07  1:22   ` Fast Turtle
2013-06-07  5:21     ` Fast Turtle
2013-06-07  5:49       ` Mick
2013-06-07 17:12         ` Fast Turtle [this message]
2013-06-06 21:07 ` Walter Dnes

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=CAK2sGBU8p3icvTrPzLQfc+LgPRi4GygxmUKenN-X1-tcLxA2mg@mail.gmail.com \
    --to=fturtle@gmail.com \
    --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