You could use sudo and add 'apache' as a user who can run 'mount'...
        
Add this to /etc/sudoers:

        apache  ALL=NOPASSWD: /bin/mount

Daevid Vincent
http://daevid.com
 

> -----Original Message-----
> From: pete M [mailto:[EMAIL PROTECTED] 
> Sent: Friday, August 15, 2003 4:59 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Re: mount command with php in through the web
> 
> 
> check out webmin http://www.webmin.com
> this allows you to administer thewhole server over the web ;-)
> 
> 
> Suman Aluru wrote:
> 
> > Hi All,
> >   is there any way i can run mount command with php script 
> in the web , bcz. 
> > mount command run only for super user as apache user is 
> there any way to run.
> > plz. help me in this regard.
> > 
> > Thank You,
> > Suman
> > 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to