Re: System() works on /usr/sbin commands

From: Date: Thu, 31 Jul 2003 06:14:54 +0000
Subject: Re: System() works on /usr/sbin commands
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-157672@lists.php.net to get a copy of this message
You usually need to be root to execute /usr/sbin/* check the permissions of the file you're trying to execute. On Wednesday 30 July 2003 11:13 pm, tirumal b wrote: > hello, > > i was using system function to invoke useradd > command but it doesn't work. well it works for all the > commands but not those in /usr/sbin. why is it so. > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com

« previous php.general (#157672) next »