Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Sep 2006 17:58:16 +0200
From:      "Michael Grant" <mg-fbsd3@grant.org>
To:        "Giorgos Keramidas" <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cvs question
Message-ID:  <62b856460609150858v4e8a2213m3096ce1a49fc80c8@mail.gmail.com>
In-Reply-To: <20060915120835.GB33397@gothmog.pc>
References:  <62b856460609141011s72e72eah70996448f74e7cd0@mail.gmail.com> <20060915101824.GB30999@gothmog.pc> <62b856460609150456j590be070v420472f319f06947@mail.gmail.com> <20060915120835.GB33397@gothmog.pc>

next in thread | previous in thread | raw e-mail | index | archive | help
[#786] ls -l CVS
total 6
-rw-r--r--  1 mgrant  1001  197 Oct 16  2005 Entries
-rw-r--r--  1 mgrant  1001    8 May 30  2005 Repository
-rw-r--r--  1 mgrant  1001   55 May 30  2005 Root
[#787] cat CVS/Root
:pserver:xgrant:xxxxxx@grant.org/home/ng/tools/cvsroot

Ok, so that solve that mystery.  However, I still cannot log in on one
machine yet I can on the other:  Except for the Entries file, Root and
Repository are identical in the CVS directory.

cvs login
Logging in to :pserver:xgrant@grant.org:2401/home/ng/tools/cvsroot
cvs login: authorization failed: server grant.org rejected access to
/home/ng/tools/cvsroot for user mgrant


Michael Grant

On 9/15/06, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> On 2006-09-15 13:56, Michael Grant <mg-fbsd3@grant.org> wrote:
> >On 9/15/06, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> >>On 2006-09-14 19:11, Michael Grant <mg-fbsd3@grant.org> wrote:
> >>> I'm being driven slowly mad by cvs...
> >>>
> >>> I have 3 boxes, one is acting as a cvs server.  The "cvs clients" (for
> >>> lack of a better term) are running 6.1 and should be configured the
> >>> same.  Yet, one machine lets me do a cvs login, the other requires I
> >>> use cvs -d :psserver:.. with each cvs command.
> >>>
> >>> I do not have CVSROOT set on either machine.
> >>>
> >>> What I get is this:
> >>>
> >>> [#822] cvs login
> >>> Logging in to :pserver:myname@myserver/home/foo/bar
> >>> cvs login: authorization failed: server myserver rejected access to
> >>> /home/foo/bar for user mgrant
> >>>
> >>> yet, on the other machine, I get a password prompt and all is fine.
> >>
> >> Someone sets CVSROOT, if you can just type "cvs login" and get a prompt
> >> for ``Logging in to :pserver:myname@myserver/home/foo/bar''.
> >>
> >> Can you run, on both systems, the following?
> >>
> >>     $ env | sort | grep CVS
> >
> > env | sort | grep CVS
> > returns nothing.  There are no CVS* variables set!  Strange.  Where is
> > it getting the cvsroot from?  Even if I remove the .cvspass file, it
> > still uses the pserver line from before.  It's definitely getting
> > cached somewhere.  greping the env for pserver shows nothing.
>
> Do you have a local CVS/ subdirectory when you try "cvs login"?
>
> If yes, what does it contain?
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62b856460609150858v4e8a2213m3096ce1a49fc80c8>