public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mark Shields" <laebshade@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Allow a user to restart net.wlan0?
Date: Mon, 2 Oct 2006 15:58:23 -0400	[thread overview]
Message-ID: <642958cc0610021258jf7d8eenb450a23478267ed5@mail.gmail.com> (raw)
In-Reply-To: <c52221f0610021238l59ef0c76pce275cb230650de0@mail.gmail.com>

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

On 10/2/06, Devon Miller <devon.c.miller@gmail.com> wrote:
>
> emerge app-admin/sudo
>
> Edit /etc/sudoers and add:
>
> username ALL= NOPASSWD: /etc/init.d/ner.wlan0
>
> Where username is his login. To run it:
> sudo /etc/init.d/net.wlan0 restart
>
> dcm



Also, for best practice, I would suggest using visudo to edit /etc/sudoers.


-- 
- Mark Shields

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

  reply	other threads:[~2006-10-02 20:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-02 18:53 [gentoo-user] Allow a user to restart net.wlan0? Mark Knecht
2006-10-02 19:38 ` Devon Miller
2006-10-02 19:58   ` Mark Shields [this message]
2006-10-02 20:22   ` Mark Knecht
2006-10-03  0:27     ` Nick Rout
2006-10-02 20:31   ` Neil Bothwick
2006-10-02 23:18     ` Iain Buchanan
2006-10-03  9:50 ` [gentoo-user] " Alexander Skwar
2006-10-03 13:15   ` Mark Knecht
2006-10-03 16:51     ` [gentoo-user] " Alexander Skwar

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=642958cc0610021258jf7d8eenb450a23478267ed5@mail.gmail.com \
    --to=laebshade@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