nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

sudo and apache

This is a discussion on sudo and apache within the Web servers forums, part of the Mastering Servers category; i require to allow apache to use APF PHP Code: apache server = NOPASSWD : / usr / local / ...


Go Back   nixCraft Linux Forum > Mastering Servers > Web servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:58 PM
Junior Member
User
 
Join Date: Apr 2008
My distro: CENTOS
Posts: 1
Rep Power: 0
txt3rob is on a distinguished road
Exclamation sudo and apache

i require to allow apache to use APF

PHP Code:
apache server = NOPASSWD: /usr/local/sbin/apf -d *

would that be the correct line to add to sudo or not?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-18-2008, 11:30 PM
rockdalinux's Avatar
Contributors
User
 
Join Date: May 2005
Location: Bangalore
My distro: RHEL, HP-UX, Solaris, FreeBSD, Ubuntu
Posts: 576
Rep Power: 7
rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough rockdalinux is a jewel in the rough
Default

It should work as long as apache user exists
__________________
Rocky Jr.
You may have my body & soul, but you will never touch my pride!

If you have knowledge, let others light their candles at it.

Certified to work on HP-UX / Sun Solaris / RedHat
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Apache 503 error sweta Web servers 0 11-01-2007 03:00 AM
Frontpage ext. on apache surmandal Web servers 0 10-09-2007 07:39 AM
Apache and lighttpd together anjanesh Web servers 4 08-29-2007 05:11 PM
Apache Memory Winston Web servers 1 06-18-2007 09:36 PM
Apache configuration zafar466 Web servers 5 06-07-2007 02:28 PM


All times are GMT +5.5. The time now is 11:29 AM.


Powered by vBulletin® Version 3.7.3 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36