RSS feed

Re: Can't connect to cvsd server

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

Re: Can't connect to cvsd server

Michael Sullivan writes:
- On 07/22/14 16:35, Eric Schnoebelen wrote:
- > Michael Sullivan writes:
- > - michael@camille Stuff $ cvs checkout ourrpg
- > - setuid failed: Operation not permitted
- > 
- > This is cvs(1) on the server attempting to change id (using
- > setuid(2)) to match the username of the person logging in.
- > 
- > I *assume* the uid 1022 above is not the same uid as "michael"?
- > 
- > The fix is to make sure to map "michael" (and all the other
- > users) to the same id that cvsd(8) is running as in the  CVSROOT
- > password file. (if I remember correctly, add a 3rd field to the
- > password file representing the user cvs is to run as when logged
- > in as the user specified in the first field.)
- My /var/lib/cvsd/etc/passwd file says:
- carter cvsd # cat etc/passwd


- Is this not right?

That is the password file from the chroot environment you're
running cvsd(8) within.

I was speaking of the password file that cvs(1) itself maintains
for authenticating pserver connections.

The file is usually "passwd", in your CVSROOT directory.

It has the form 
        <cvs user>:<encoded password>:<real userid>

For your installation, the file should likely look something
like this:


where the "****" is an encoded password string.  I believe the
correct format can be created by htpasswd, but I don't remember
at the moment.  It definitely shouldn't match your login
password, as it is sent in the clear between the client and the
host. (or, at most, base64 encoded, just like http basic auth.)

Eric Schnoebelen       
                        "/bin/sh: Bourne in the USA"
To unsubscribe send an email to or see