@@ -99,7 +99,7 @@ looks like
9999
100100------
101101
102- Only anonymous access is provided by pserve by default. To commit you
102+ Only anonymous access is provided by pserver by default. To commit you
103103will have to create pserver accounts, simply add a gitcvs.authdb
104104setting in the config file of the repositories you want the cvsserver
105105to allow writes to, for example:
@@ -114,21 +114,20 @@ The format of these files is username followed by the encrypted password,
114114for example:
115115
116116------
117- myuser:$1Oyx5r9mdGZ2
118- myuser:$1$BA)@$vbnMJMDym7tA32AamXrm./
117+ myuser:sqkNi8zPf01HI
118+ myuser:$1$9K7FzU28$VfF6EoPYCJEYcVQwATgOP/
119+ myuser:$5$.NqmNH1vwfzGpV8B$znZIcumu1tNLATgV2l6e1/mY8RzhUDHMOaVOeL1cxV3
119120------
120121You can use the 'htpasswd' facility that comes with Apache to make these
121- files, but Apache's MD5 crypt method differs from the one used by most C
122- library's crypt() function, so don't use the -m option.
122+ files, but only with the -d option (or -B if your system suports it).
123123
124- Alternatively you can produce the password with perl's crypt() operator:
125- -----
126- perl -e 'my ($user, $pass) = @ARGV; printf "%s:%s\n", $user, crypt($user, $pass)' $USER password
127- -----
124+ Preferably use the system specific utility that manages password hash
125+ creation in your platform (e.g. mkpasswd in Linux, encrypt in OpenBSD or
126+ pwhash in NetBSD) and paste it in the right location.
128127
129128Then provide your password via the pserver method, for example:
130129------
131- cvs -d:pserver:someuser:somepassword <at> server/path/repo.git co <HEAD_name>
130+ cvs -d:pserver:someuser:somepassword@ server: /path/repo.git co <HEAD_name>
132131------
133132No special setup is needed for SSH access, other than having Git tools
134133in the PATH. If you have clients that do not accept the CVS_SERVER
@@ -138,7 +137,7 @@ Note: Newer CVS versions (>= 1.12.11) also support specifying
138137CVS_SERVER directly in CVSROOT like
139138
140139------
141- cvs -d ":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git" co <HEAD_name>
140+ cvs -d ":ext;CVS_SERVER=git cvsserver:user@server/path/repo.git" co <HEAD_name>
142141------
143142This has the advantage that it will be saved in your 'CVS/Root' files and
144143you don't need to worry about always setting the correct environment
@@ -186,8 +185,8 @@ allowing access over SSH.
186185+
187186--
188187------
189- export CVSROOT=:ext:user@server:/var/git/project.git
190- export CVS_SERVER="git cvsserver"
188+ export CVSROOT=:ext:user@server:/var/git/project.git
189+ export CVS_SERVER="git cvsserver"
191190------
192191--
1931924. For SSH clients that will make commits, make sure their server-side
@@ -203,7 +202,7 @@ allowing access over SSH.
203202 `project-master` directory:
204203+
205204------
206- cvs co -d project-master master
205+ cvs co -d project-master master
207206------
208207
209208[[dbbackend]]
0 commit comments