info-cvs
[Top][All Lists]
Advanced

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

Why does CVS remember the last login user?


From: Jean-Christian Imbeault
Subject: Why does CVS remember the last login user?
Date: Wed, 28 Jul 2004 13:33:14 +0900
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

I'm having a small problem with CVS. We have a joint unix account we use
for compiling and deployment an application. In that account we have
created a CVS (bad choice of names I know) directory where we do a cvs
update/co to get the latest code for compiling/deploying.

The problem is that even though each user does a cvs login [username],
when we enter the CVS directory CVS no longer seems to recognize who we
are. For example:

tkrwsapp1{bea}12: pwd
/export/home/bea
tkrwsapp1{bea}13: cvs login imbeauje
Logging in to :pserver:address@hidden:2401/repos/MRW
CVS password:
tkrwsapp1{bea}14: cd CVS
tkrwsapp1{bea}15: ls
MRW/      MRW_DEV/
tkrwsapp1{bea}16: cd MRW
tkrwsapp1{bea}17: cvs remove fileTestBEA
cvs remove: authorization failed: server tkcvsapd1 rejected access to
/repos/MRW for user kobayahi
cvs remove: used empty password; try "cvs login" with a real password
tkrwsapp1{bea}18: cvs logout
Logging out of :pserver:address@hidden:2401/repos/MRW
cvs logout: Entry not found.
tkrwsapp1{bea}19: cd ..
tkrwsapp1{bea}20: cvs logout
Logging out of :pserver:address@hidden:2401/repos/MRW

cvs seems to think I am the original user (kobayahi) that first did a
cvs co for the MRW project. Even though I logged in a imbeauje and even
though CVSROOT is set to

:pserver:address@hidden:/repos/MRW

Even more strange is this:

tkrwsapp1{bea}25: pwd
/export/home/bea/CVS/MRW
tkrwsapp1{bea}26: echo $CVSROOT
:pserver:address@hidden:/repos/MRW
tkrwsapp1{bea}27: cvs login imbeauje
Logging in to :pserver:address@hidden:2401/repos/MRW
CVS password:
cvs login: authorization failed: server tkcvsapd1 rejected access to
/repos/MRW for user kobayahi

Why does CVS think I am kobayahi when CVSROOT says I am not? Furthermore
I though that I could pass a username as an argument to cvs login but it
doesn't seem to have any effect.

Is there a simple way to share an account for CVS but have have the
ability for people to login to cvs under different user names?

Thanks!

-- 
Jean-Christian Imbeault
Assistant Manager
Technology Department
_____________________________________
Mizuho Securities Co, Ltd.
Tel: (03) 5208-2932 (direct)






reply via email to

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