passwd command패스워드 자동화

From: Date: Thu, 17 Aug 2000 17:08:11 +0000
Subject: passwd command패스워드 자동화
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-12290@lists.php.net to get a copy of this message
I want to add users automatically. But, I don't know how to do the command about this. ex) I tried to this.... <? function passwd($user, $new_passwd,$re_passwd) { $passwd = $new_passwd."\n".$re_passwd; system("echo $passwd | passwd $user"); } ?>

« previous php.general (#12290) next »