the user/machine to add
the new plaintext password
additional properties of account:
userid
flags
lct
comment
whether to add an machine account
Returns TRUE on success, PEAR_Error on failure.
Table 37-1. Possible PEAR_Error values
Error Code | Summary |
---|---|
FILE_PASSWD_E_EXISTS_ALREADY | account already exists |
FILE_PASSWD_E_INVALID_CHARS | user/machine name contains illegal characters |