string $user - the user name
string $pass - the uncrypted password
string $cvsuser - when editing a cvs passwd file, you can set the cvs user name
Table 24-1. Possible PEAR_Error values
Error code | Error message | Reason | Solution |
---|---|---|---|
2 | " Couldn't add user user, because the user already exists! " | The user entry could not written to the temporary file, the user entry already exists. | Check typing of the $user or you maybe looking for File_Passwd::modUser() |