[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS pserver "no such repository" error

From: Jolly Roger
Subject: Re: CVS pserver "no such repository" error
Date: Thu, 01 Mar 2007 19:11:11 GMT

On 2007-03-01 11:32:53 -0600, address@hidden (Larry Jones) said:

Jolly Roger writes:

That's what I've read everywhere.  But I've retyped that line
letter-for-letter in the /etc/xinetd.d/cvspserver startup file more
than once. And there are no typos that I can see in that file or on the
command line.

I'm at a loss.  It's got to be something else.

That's the only thing that causes that particular message.

Okay I figured it out.  I mostly had it set up right, but I needed to:

1. Create a new user named "cvs" ( I used UID 89).
2. Create a new group named "cvs" (also GID 89).
3. Do a "sudo chown -R cvs:cvs /usr/local/cvsroot".
4. Change the "/etc/xinetd.d/cvspserver" startup file to have "user = cvs".
5. Restart xinetd.
6. Make sure the "/usr/local/cvsroot/CVSROOT/passwd" file had a "username:encpw:cvs" entry.

I used this Perl script to generate the password:

        srand (time());
        my $randletter = "(int (rand (26)) + (int (rand (1) + .5) % 2 ? 65 : 
        my $salt = sprintf ("%c%c", eval $randletter, eval $randletter);
        my $plaintext = shift;
        my $crypttext = crypt ($plaintext, $salt);
        print "Plaintext: $plaintext\n";
        print "Encrypted: $crypttext\n";

And now logins work correctly!

I'll have to post a nice tutorial on about this when I have time...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]