Re: sudo and privoxy

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

 



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 nano -w; but sure enough, there it stands, 
bold as brass, big as life, and twice as ornery : "## This file must be 
edited with the 'visudo' command." Methinks I am undone.
 
> 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.

	I did try :

[root@Hbsk2 etc]# nano -w sudoers
[root@Hbsk2 etc]# 

and added the line onto the bottom; but then I got : 

[tslg@Hbsk2 ~]$ /sbin/service privoxy restart
Can't find /usr/sbin/privoxy, exit.
[tslg@Hbsk2 ~]$ 

	I'm a little surprised that Fedora added /usr in there; she can 
do /sbin/ifconfig perfectly well ...

	Learning vi is one of the things that's been daunting me, lo!, 
these dozen years or more ....

-- 
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Remember I know precious little of what I am talking about.

-- 
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