sudo and privoxy
Beartooth at comcast.net
Thu Apr 9 14:00:32 UTC 2009
On Wed, 08 Apr 2009 14:25:30 -0700, Rick Stevens wrote:
> Whatever user is trying to invoke sudo MUST be in the /etc/sudoers file.
> There's another reply to this thread that describes how to put that in
> (by using visudo).
Well, as root, I tried using ]# nano -w sudoers to add one line.
# %users localhost=/sbin/shutdown -h now
tslg ALL=NOPASSWD: /sbin/service privoxy restart
Now, as she, I get :
[tslg at Hbsk2 ~]$ sudo /sbin/service privoxy restart
Stopping privoxy: [ OK ]
Starting privoxy: Apr 08 18:55:24.929 Privoxy(b7fd56c0) Info: Privoxy
Apr 08 18:55:24.929 Privoxy(b7fd56c0) Info: Program name: /usr/sbin/
[ OK ]
[tslg at Hbsk2 ~]$
Which looks to me like it did it. Right?
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.
More information about the users