Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'pserver passwd' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
pserver passwd
Authored by: reverie on Nov 07, '01 02:12:45PM

This is excellent--I tried and failed to install a pserver about 6 months ago, after having successfully set one up on a linux box. I'll have to give this a try...

One thing that you'll run into first thing after the pserver is set up is that there's no tool to create or change passwords for it. Fortunately, Mac OS X comes with htpasswd, a utility for creating passwords for websites. It just happens to use the same encryption method as the unix system's and the pservers passwd files. Just type:

htpasswd -c passwd foo

where passwd is the name of your password file and foo is the username, and it will create the file and prompt you for the password. If the file already exists, leave out the -c switch. Open up the file with the text editor, and you'll see:


The gibberish is the encrypted password--you can edit the username before it and add options after it as per the instructions on the web page, as long as you don't edit the string itself.

Oh yeah, and if you write any code that uses more than 2 or 3 files, USE CVS! And if you test/operate/develop the code on more than one system, SET UP A CVS SERVER! It only takes about 5 minutes to learn, and you'll thank yourself later.

[ Reply to This | # ]
pserver passwd
Authored by: PeterNSteinmetz on Sep 09, '02 10:51:41AM

Following up on Bill Rising's comment about the need to also add /services/cvspserver to the NetInfo database

After the above is performed, under 10.1.5, it consistently complains that there is an authentication failure after the connection is made to 2401.

This occurs whether one is using a user name in CVSROOT/passwd or another valid username in the NetInfo database or a valid username in /etc/passwd. It also occurs when all of the above are true for the same username and the CVSROOT/passwd system users name is the same.

Under Server 10.1.4, the pserver will work with users in the NetInfo database and with entries in the CVSROOT/passwd file.

cvs --version under both OS X versions is the same, namely 1.10.

It appears that some change to the authentication system between 10.1.4 and 10.1.5 must have broken the pserver in cvs.

Any one else with suggestions on fixing?


[ Reply to This | # ]