CVS and password 

http://groups.google.com/groups?hl=en&threadm=fa.gs39hav.134ag9r%40ifi.uio.no&rnum=18&prev=/groups%3Fq%3D%2527no%2Bsuch%2Buser%2527%2BCVSROOT/passwd%26num%3D50%26hl%3Den%26sa%3DG%26scoring%3Dr

Newsgroups: fa.info-cvs
Date: 2001-09-06 08:46:41 PST

I have my cvs server running on a linux box and am using pserver mode to connect. When I have the CVSROOT/config file set SystemAuth=yes then cvs -d :pserver:user@hostname:/myrepos login works and I can log in using username and the system password for username.

I then used passwd command to change the password to something else and cut and paste the new password field into the CVSROOT/config file

e.g.
username:sB3A79YDX5l4s

I also set SystemAuth=no

And then did a commit on both config and passwd (after adding passwd).

When trying to log on I now get:

"no such user username in CVSROOT/passwd
cvs login: authorization failed: server homenet.net rejected access to
/myrepos for user username"

If I view the passwd file directly under the CVSROOT directory then I can see username. I have also tried setting passwd file as: username: as one would do for anonymous users, but same result.

At all times I used edit and commit to make changes to file.

anonymous access problem: no such user 

http://groups.google.com/groups?q=%27no+such+user%27+CVSROOT/passwd&hl=en&scoring=r&rnum=1&selm=38C7C699.10D9D1A3%40fh-konstanz.de

I'm trying to set up anonymous access for a repository. I've created a passwd-file with a user anon, a readers file that contains that user (and a newline), and added them to the repository. When I try to access it through

cvs -t -d :pserver:anon@host:/usr/home/cvsadmin/repository login

I am prompted to enter my password, but I only get

Fatal error, aborting.
anon: no such user
cvs [login aborted]: authorization failed: server swt rejected access

When I change SystemAuth to no, I get:

CVS password:
no such user anon in CVSROOT/passwd
cvs [login aborted]: authorization failed: server swt rejected access
bash-2.03$ cat passwd
anon:/1kgJapGxEYM2:cvsadmin

But the user is there !

Where's the problem ?

Strange enough, in the the $CVSROOT/CVSROOT-directory, there is no real passwd-file, just a passwd,v-file. All the other files have real-files associated with their RCS-relatives.

anonymous access problem: no such user 

> And then did a commit on both config and passwd (after adding passwd).

passwd is usually edited in place rather than being maintained with CVS for security reasons. If you're sure you want to maintain it with CVS, you need to add it to CVSROOT/checkoutlist so that it gets updated when committed.