|
NAMEcvsdadm - CVSd pserver administration programSYNOPSIScvsdadm [-a] [-C] [-q] [-e] [-k] [-d] [-h] [-l] [-r] [-w] [-v][-u userid] [-p password] [-R repository] [-s system_user_id]DESCRIPTIONcvsdadm is a tool to assist CVSd administrators in the user admin of the CVSROOT/passwd CVSROOT/readers CVSROOT/writers files when pserver authentication is being used for the repository.OPTIONS
EXAMPLES In the following examples % is the command prompt. A short description following the example describes whats going on in each. % cvsdadm -i This will start cvsdadm's interactive user menu. This will allow the user to perform cvsdadm functions interactively. % cvsdadm -q -u username Allows the user to query the cvs repositories % cvsdadm -C -R ./Ports The above will create all the repository files in Ports directory but not the Ports directory itself. % cvsdadm -C -[adkeq] -u you -p password -R Ports The above have two behavior. First, it will create the repository if it not already created. Second if the repository is created but some files are missing, it will create these files before any -adkeq operations. No file will be overwritten, so -C is not dangerous for your existing repository! % cvsdadm -i -C The above is the same as the previous one but will work in interactive mode % cvsdadm -a -u username -p userpasswd -R /repos -w The above will add username with userpasswd to the cvs repository located at /repos with writers priviledges. % cvsdadm -a -u username -p userpasswd -s systemusername -R /repos -w The above will add username with userpasswd mapped to systemusername in cvs repository /repos with writers priviledges. NOTE: The above two commands can be executed with -r as well, instead of -w. If executed with -r, the cvs users priviledges will be that of a cvs repository reader rather than writer. % cvsdadm -k -u username -R /repos This kills the cvs user username in the cvs repository /repos. Their cvs account will no longer exist after this command is issued. % cvsdadm -e -u username -R /repos This command re-enables a disabled cvs user in cvs repository /repos. % cvsdadm -d -u username -R /repos This command disables a cvs user in cvs repository /repos. % cvsdadm -l This command will print a listing of all CVS user. If you want a full listing of CVS user you could make this command in a for loop like the example below (rc shell) % for ( i in `{cvsdadm -l ⎪grep -v '>')} {cvsdadm -q -u $i} % cvsdadm -h This command will display some cvsdadm help. SEE ALSOcvs(1) cvsd(8) cvsd.conf(5) cvsd-buildroot(8) cvsd-passwd(8)AUTHORSerge Gagnon <serge.gagnon@b2b2c.ca> Cvspadm original author: Raymond M. Schneider <ray@thought.net>BUGSSome. They can be viewed in the TODO file.
Visit the GSP FreeBSD Man Page Interface. |