info-cvs
[Top][All Lists]
Advanced

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

Re: Why does CVS remember the last login user?


From: Larry Jones
Subject: Re: Why does CVS remember the last login user?
Date: Wed, 28 Jul 2004 06:15:13 -0400 (EDT)

Jean-Christian Imbeault writes:
> 
> 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.

Correct.  "cvs login" only stores the default password to be used with a
particular CVSROOT setting, it does not create any kind of a connection
or session.  You only need to login to a particular repository once (for
all time).  When you first check out a working directory, CVS stores the
CVSROOT that you used and uses it for all subsequent operations in that
working directory -- that makes life much simpler for those of us who
use multiple repositories on a regular basis.  Unfortunately, it makes
life more difficult for the occasional misguided user who wants to share
a working directory among multiple users.  You can use the -d global
option to override the stored CVSROOT:

        cvs -d $CVSROOT remove fileTestBEA

-Larry Jones

Talk about someone easy to exploit! -- Calvin




reply via email to

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