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.60)
	(envelope-from <gentoo-user+bounces-52302-garchives=archives.gentoo.org@gentoo.org>)
	id 1GUU1t-0000On-Ic
	for garchives@archives.gentoo.org; Mon, 02 Oct 2006 20:04:46 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k92K3an1003730;
	Mon, 2 Oct 2006 20:03:36 GMT
Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k92JwNa8026053
	for <gentoo-user@lists.gentoo.org>; Mon, 2 Oct 2006 19:58:23 GMT
Received: by py-out-1112.google.com with SMTP id d42so2085557pyd
        for <gentoo-user@lists.gentoo.org>; Mon, 02 Oct 2006 12:58:23 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references;
        b=AjVoQBKQjBxHEfq8G6b2y/n9eK3saz298Dvll4VyLvJydW0MpNTQGqwMQL2on/MiYXMhfFPcPz5zY5XydzuoKhNJy9YtDCfb7qOQpX058kMEiNSfkXNnzziXPHGtF9BSZ/LqpdCJ5Hbx5XAxIfNdRETDflFrpX9v9UVAUjcXdFw=
Received: by 10.65.234.3 with SMTP id l3mr7817657qbr;
        Mon, 02 Oct 2006 12:58:23 -0700 (PDT)
Received: by 10.65.220.16 with HTTP; Mon, 2 Oct 2006 12:58:22 -0700 (PDT)
Message-ID: <642958cc0610021258jf7d8eenb450a23478267ed5@mail.gmail.com>
Date: Mon, 2 Oct 2006 15:58:23 -0400
From: "Mark Shields" <laebshade@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Allow a user to restart net.wlan0?
In-Reply-To: <c52221f0610021238l59ef0c76pce275cb230650de0@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_325_27071774.1159819103064"
References: <5bdc1c8b0610021153q3865ff1ap28c83f8acead9a0a@mail.gmail.com>
	 <c52221f0610021238l59ef0c76pce275cb230650de0@mail.gmail.com>
X-Archives-Salt: 5ae7b7ed-f704-4c43-a2f5-a152c79dad93
X-Archives-Hash: deed48709b03e1958da13f23c4a965ca

------=_Part_325_27071774.1159819103064
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

------=_Part_325_27071774.1159819103064
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/2/06, <b class="gmail_sendername">Devon Miller</b> &lt;<a href="mailto:devon.c.miller@gmail.com">devon.c.miller@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
emerge app-admin/sudo<br>
<br>
Edit /etc/sudoers and add:<br>
<br>
username ALL= NOPASSWD: /etc/init.d/ner.wlan0<br>
<br>
Where username is his login. To run it:<br>
sudo /etc/init.d/net.wlan0 restart<br>
<br>
dcm</blockquote><div><br><br>Also, for best practice, I would suggest using visudo to edit /etc/sudoers. <br></div><br></div><br>-- <br>- Mark Shields

------=_Part_325_27071774.1159819103064--
-- 
gentoo-user@gentoo.org mailing list