system level adduser

From: Date: Fri, 16 Jun 2000 01:36:40 +0000
Subject: system level adduser
Groups: php.general 
Request: Send a blank email to php-general+get-2034@lists.php.net to get a copy of this message
We're creating a webmail application using U-Wash IMAP. The user fills out a signup form to get an account. We want to add the user in real time, giving them access to their account immediately. The best idea right now is to loop through the /etc/passwd file, looking for the existence of a system username. If the selected name is not on the list, we'd like to add it (probably using 'system()'). Would anyone care to comment on the security and procedure of adding system users from a php script? - John Hogan

« previous php.general (#2034) next »