RE: [PHP] System() works on /usr/sbin commands

From: Date: Fri, 01 Aug 2003 01:01:36 +0000
Subject: RE: [PHP] System() works on /usr/sbin commands
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157853@lists.php.net to get a copy of this message
Add an entry to /etc/sudoers like so: nobody ALL=NOPASSWD: /bin/date Daevid Vincent http://daevid.com > -----Original Message----- > From: Marek Kilimajer [mailto:kilimajer@webglobe.sk] > Sent: Thursday, July 31, 2003 3:02 AM > To: tirumal b > Cc: php-general@lists.php.net > 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 >

« previous php.general (#157853) next »