How to add user to linux using php

From: Date: Mon, 04 Sep 2006 21:45:35 +0000
Subject: How to add user to linux using php
Groups: php.general 
Request: Send a blank email to php-general+get-241359@lists.php.net to get a copy of this message
i tried to add user to by exeuting shell_exe command so it add user but if the user added still problem is how to apply the password by command passwd in linux by php script because it's an interactive command required to input the password twice in linux shell. is there any way to add user and apply password by executing shell command through php?

« previous php.general (#241359) next »