note 16084 added to faq
| From: | gzlaizs at 163 dot net | Date: | Tue, 16 Oct 2001 02:47:10 +0000 |
| Subject: | note 16084 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18962@lists.php.net to get a copy of this message | ||
SOS.
who can help me?
Problem: Add new system user or modify passwd in linux with PHP program?
Please give me some example.Thank you.
---------------------------------------
<?
exec("/bin/adduser username"); # fail
system("/usr/sbin/passwd username"); #fail
?>
---------------------------------------
Thank you again.
--
http://www.php.net/manual/en/faq.php
http://master.php.net/manage/user-notes.php?action=edit+16084
http://master.php.net/manage/user-notes.php?action=delete+16084
http://master.php.net/manage/user-notes.php?action=reject+16084