RE: [PHP-INST] New User Creation.

From: Date: Fri, 18 Jul 2003 07:25:27 +0000
Subject: RE: [PHP-INST] New User Creation.
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-11302@lists.php.net to get a copy of this message
Try checking out the exec() function http://us4.php.net/manual/en/function.exec.php Should start out with 3 input boxes. USERNAME PASSWORD VERIFYPASSWORD IF ($_POST/GET[PASSWORD] == $_POST/GET[VERIFYPASSWORD]){ exec("/path/to/useradd -p $_POST/GET[PASSWORD] $_POST/GET[USERNAME]"); } The above is assuming you are executing exec() functions as a PRIVILEGED user. It also assumes that no one is able to view the processes taking place on the machine as the password will show up in clear text when ps'n (reporting process status). This also assumes you are not running IIS on a windows platform. The above is just an example (and a crappy one at that), I am not responsible for ANYTHING you do with this. These "assumptions" may help. Read below. _________________ MOST IMPORTANTLY ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ 1. READ POSTING RULES 2. hmm, it's in the posting rules. 3. http://us4.php.net/mailing-lists.php 4. Do not reply to my email address. -----Original Message----- From: Rajendra Kumar [mailto:rsrie@yahoo.com] Sent: Friday, July 18, 2003 3:02 AM To: php-install@lists.php.net Subject: [PHP-INST] New User Creation. Hello List, i am new to php programming. can anyone help me to create a linux user using php program and also i want to assign passwd to the new created user. just like New User Sign Up form for an email. i use squirrel mail they din't provided the new user sign up. any help will be appreciated. thank, Kumar. Catch all the cricket action. Download Yahoo! Score tracker

« previous php.install (#11302) next »