Manipulate CVS pserver passwd files.
A line of a CVS pserver passwd file consists of 2 to 3 colums:
user1:1HCoDDWxK9tbM:sys_user1 user2:0O0DYYdzjCVxs user3:MIW9UUoifhqRo:sys_user2
If the third column is specified, the CVS user named in the first column is mapped to the corresponding system user named in the third column. That doesn't really affect us - just for your interest :)
Output of listUser()
array
+ user => array
+ passwd => crypted_passwd
+ system => system_user
+ user => array
+ passwd => crypted_passwd
+ system => system_user
Located in Program_Root/Passwd/Cvs.php (line 56)
File_Passwd_Common | --File_Passwd_Cvs
Inherited from File_Passwd_Common
File_Passwd_Common::$_contents
File_Passwd_Common::$_file
File_Passwd_Common::$_users
Constructor File_Passwd_Cvs (line 63)
Constructor
addUser (line 130)
Add an user
The username must start with an alphabetical character and must NOT contain any other characters than alphanumerics, the underline and dash.
Returns a PEAR_Error if:
changePasswd (line 176)
Change the password of a certain user
Returns a PEAR_Error if user doesn't exist.
changeSysUser (line 195)
Change the corresponding system user of a certain cvs user
Returns a PEAR_Error if:
parse (line 98)
Parse the CVS passwd file
Returns a PEAR_Error if passwd file has invalid format.
save (line 81)
Apply changes and rewrite CVS passwd file
Returns a PEAR_Error if:
verifyPasswd (line 159)
Verify the password of a certain user
Returns a PEAR_Error if the user doesn't exist.
_genPass (line 217)
Generate crypted password
Inherited From File_Passwd_Common
File_Passwd_Common::delUser()
File_Passwd_Common::getFile()
File_Passwd_Common::listUser()
File_Passwd_Common::load()
File_Passwd_Common::parse()
File_Passwd_Common::save()
File_Passwd_Common::setFile()
File_Passwd_Common::userExists()
File_Passwd_Common::_close()
File_Passwd_Common::_open()
File_Passwd_Common::_save()
File_Passwd_Common::__clone()
File_Passwd_Common::__construct()
Documention generated on Sat, 20 Sep 2003 16:14:42 +0200 by phpDocumentor 1.2.1