Add an entry to /etc/sudoers like so:
nobody ALL=NOPASSWD: /bin/date
Daevid Vincent
http://daevid.com
> -----Original Message-----
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 3:02 AM
> To: tirumal b
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] System() works on /usr/sbin commands
>
>
> Check out sudo (man sudo), but you must be carefull.
>
> tirumal b wrote:
>
> > hello,
> >
> > yes the /usr/sbin commands require root permissions
> > but is there any way to run these commands using
> > system() through suid or something.please let me know
> >
> > Thank you
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php