Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CVSDADM(1)	      User Contributed Perl Documentation	    CVSDADM(1)

NAME
       cvsdadm - CVSd pserver administration program

SYNOPSIS
       cvsdadm	[-a]  [-C]  [-q]  [-e]	[-k] [-d] [-h] [-l]  [-r] [-w] [-v][-u
       userid] [-p password] [-R repository] [-s system_user_id]

DESCRIPTION
       cvsdadm 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
       -i interactive use, user	provided with a	menu
       -a add a	cvs user
       -C Create mode need -R if not in	interactive mode
       -k kill a cvs user
       -d disable a cvs	user account
       -e enable a cvs user account
       -h print	help and exit
       -l print	a listing of all user
       -q query	the repository about a user
       -u cvs_userid
       -p cvs_user_passwd
       -s system_user_cvs_user_maps_to
       -R full_or_relative_path_to_repository
       -w specify for cvs writers access
       -r specify for cvs readers access
       -v print	version	and exit

       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  lo-
       cated 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 ALSO
       cvs(1) cvsd(8) cvsd.conf(5) cvsd-buildroot(8) cvsd-passwd(8)

AUTHOR
       Serge Gagnon <serge.gagnon@b2b2c.ca> Cvspadm original  author:  Raymond
       M. Schneider <ray@thought.net>

BUGS
       Some. They can be viewed	in the TODO file.

0.3				  2006-02-12			    CVSDADM(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=cvsdadm&sektion=1&manpath=FreeBSD+Ports+15.0>

home | help