Re: sudo and privoxy

2009-04-09 Thread Rick Stevens
Beartooth wrote: On Wed, 08 Apr 2009 14:04:42 -0700, Rick Stevens wrote: Frank Cox wrote: On Wed, 08 Apr 2009 19:51:15 + (UTC) Beartooth wrote: What am I doing wrong?? Add this to /etc/sudoers (using visudo) usernameALL=NOPASSWD: /sbin/service privoxy restart Substitute the na

Re: sudo and privoxy

2009-04-09 Thread Frank Cox
On Thu, 09 Apr 2009 14:00:32 + (UTC) Beartooth wrote: > Which looks to me like it did it. Right? It worked. -- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo

Re: sudo and privoxy

2009-04-09 Thread Beartooth
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

Re: sudo and privoxy

2009-04-08 Thread Tim
On Wed, 2009-04-08 at 13:50 -0800, Kam Leo wrote: > If I recall correctly, the benefit of using visudo is that the results > are syntax checked when the file is saved. And that files are replaced appropriately... Changing *some* configuration files on a running system doesn't work. -- [...@loca

Re: sudo and privoxy

2009-04-08 Thread Beartooth
On Wed, 08 Apr 2009 14:04:42 -0700, Rick Stevens wrote: > Frank Cox wrote: >> On Wed, 08 Apr 2009 19:51:15 + (UTC) Beartooth wrote: >> >>> What am I doing wrong?? >> >> Add this to /etc/sudoers (using visudo) >> >> usernameALL=NOPASSWD: /sbin/service privoxy restart >> >> Substitut

Re: sudo and privoxy

2009-04-08 Thread Mikkel L. Ellertson
Beartooth wrote: > On Wed, 08 Apr 2009 14:37:52 -0600, Frank Cox wrote: > [] >> Add this to /etc/sudoers (using visudo) > > Aaarrghghgh. All I know about vi is how to spell it, and I'm not > always too sure of that. Nor does the man page for visudo look any > friendlier. > >

Re: sudo and privoxy

2009-04-08 Thread suvayu ali
2009/4/8 Beartooth : > On Wed, 08 Apr 2009 14:37:52 -0600, Frank Cox wrote: >        [] >> Add this to /etc/sudoers (using visudo) > >        Aaarrghghgh. All I know about vi is how to spell it, and I'm not > always too sure of that. Nor does the man page for visudo look any > friendlier. > >  

Re: sudo and privoxy

2009-04-08 Thread Kam Leo
On Wed, Apr 8, 2009 at 1:42 PM, Clint Dilks wrote: >> >> >>        Learning vi is one of the things that's been daunting me, lo!, >> these dozen years or more >> >> > > Hi :) > > If you don't want to use vi with visudo all you need to do is set the EDITOR > environment variable to whatever ed

Re: sudo and privoxy

2009-04-08 Thread Clint Dilks
Kam Leo wrote: On Wed, Apr 8, 2009 at 1:42 PM, Clint Dilks wrote: Learning vi is one of the things that's been daunting me, lo!, these dozen years or more Hi :) If you don't want to use vi with visudo all you need to do is set the EDITOR environment variable to whateve

Re: sudo and privoxy

2009-04-08 Thread Clint Dilks
Learning vi is one of the things that's been daunting me, lo!, these dozen years or more Hi :) If you don't want to use vi with visudo all you need to do is set the EDITOR environment variable to whatever editor you prefer and this will be called instead of vi. Have a nice day

Re: sudo and privoxy

2009-04-08 Thread Rick Stevens
Beartooth wrote: My wife's machine is on a different floor. Nine times out of ten, when she hollers for help, it's a browser that won't connect; and nine out of ten of those times, it's because privoxy has somehow gotten stopped. (The other times, I usually have to reboot the router a/o the m

Re: sudo and privoxy

2009-04-08 Thread Beartooth
On Wed, 08 Apr 2009 14:37:52 -0600, Frank Cox wrote: [] > Add this to /etc/sudoers (using visudo) Aaarrghghgh. All I know about vi is how to spell it, and I'm not always too sure of that. Nor does the man page for visudo look any friendlier. It let me open it with na

Re: sudo and privoxy

2009-04-08 Thread Rick Stevens
Frank Cox wrote: On Wed, 08 Apr 2009 19:51:15 + (UTC) Beartooth wrote: What am I doing wrong?? Add this to /etc/sudoers (using visudo) usernameALL=NOPASSWD: /sbin/service privoxy restart Substitute the name of the user that you want to give this permission to for "username" in t

Re: sudo and privoxy

2009-04-08 Thread Frank Cox
On Wed, 08 Apr 2009 19:51:15 + (UTC) Beartooth wrote: > What am I doing wrong?? Add this to /etc/sudoers (using visudo) usernameALL=NOPASSWD: /sbin/service privoxy restart Substitute the name of the user that you want to give this permission to for "username" in the above line. Now

sudo and privoxy

2009-04-08 Thread Beartooth
My wife's machine is on a different floor. Nine times out of ten, when she hollers for help, it's a browser that won't connect; and nine out of ten of those times, it's because privoxy has somehow gotten stopped. (The other times, I usually have to reboot the router a/o the modem.)