RE: [PHP-DB] Re: mount command with php in through the web
| From: | Daevid Vincent | Date: | Thu, 21 Aug 2003 00:32:09 +0000 |
| Subject: | RE: [PHP-DB] Re: mount command with php in through the web | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30009@lists.php.net to get a copy of this message | ||
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: [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
>