[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sudo and privoxy



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 Hbsk2 ~]$ sudo /sbin/service privoxy restart
Stopping privoxy:                                          [  OK  ]
Starting privoxy: Apr 08 18:55:24.929 Privoxy(b7fd56c0) Info: Privoxy 
version 3.0.10
Apr 08 18:55:24.929 Privoxy(b7fd56c0) Info: Program name: /usr/sbin/
privoxy
                                                           [  OK  ]
[tslg 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]