I suppose that your web server is running with non-privileged user.
In this case you have to use sudo (man sudo). Also you have to make some
checks like
if (ereg("[|;,:`'\\\"]", $_POST[PASSWORD]) || ereg("[|;,:`'\\\"]",
$_POST{USERNAME])) {
die "Invalid username or password.";
}
Remember that
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:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 3:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] New User Creation.
Hello List,
i am new to php
g rules.
3. http://us4.php.net/mailing-lists.php
4. Do not reply to my email address.
-Original Message-
From: Rajendra Kumar [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 3:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] New User Creation.
Hello List,
i am new to php programming
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 app