Re: sudo and privoxy

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

 



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 +0000 (UTC) Beartooth wrote:

What am I doing wrong??
Add this to /etc/sudoers (using visudo)

username        ALL=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 he/she can simply type "/sbin/service privoxy restart" at a
commandline (or you can even hang it on an icon) and restart privoxy.
Correction, he/she MUST type "sudo /sbin/service privoxy restart".

	With that, 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 ~]$

	Looks likely right to me; is it?

Sure does.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks@xxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux