Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: sudo from Apache

by pemungkah (Priest)
on Sep 02, 2011 at 20:20 UTC ( #923922=note: print w/replies, xml ) Need Help??


in reply to sudo from Apache

Are you able to edit sudoers? Can you add an entry to allow www-data to do the umount/mount?

If not, have a daemon running as the user that can umount/mount and have the webserver process either connect to it via Unix sockets, or use a semaphore file in /tmp to indicate when a mount/umount is required.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://923922]
help
Chatterbox?
[Corion]: Also, there's one colleague who wants to join a well-established weekly telco, and I'm not convinced of the use there...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-03-29 07:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (344 votes). Check out past polls.