RE: Re: mount command with php in through the web

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

 



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:pmorgan@ukds.net] 
> Sent: Friday, August 15, 2003 4:59 AM
> To: php-db@lists.php.net
> Subject:  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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux