require_once 'File/Passwd/Unix.php';
mixed File_Passwd_Unix::staticAuth (string $file, string $user, string $pass, string $mode)
mixed File_Passwd_Unix::staticAuth
Static user authentication.
path to passwd file
user to authenticate
plaintext password
des or md5
Returns TRUE if authenticated, FALSE if not or PEAR_Error on failure.
Table 37-1. Possible PEAR_Error values
This function should be called statically.