From owner-freebsd-questions@FreeBSD.ORG Fri Sep 15 15:58:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB97E16A417 for ; Fri, 15 Sep 2006 15:58:23 +0000 (UTC) (envelope-from michael.grant@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6897F43D66 for ; Fri, 15 Sep 2006 15:58:17 +0000 (GMT) (envelope-from michael.grant@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so1361547nzn for ; Fri, 15 Sep 2006 08:58:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BbdtroPT1JOFlzEe0UqRTMB1wpSG1CkKSadbB4ML0Ax/CUQ3ME67oI/IU6neXSOvHp6J14LqapJ6zc01bUAw4tNarFFpmq3rWmi5b/GncWQhwG//jCdYKqgBmbap6zTQLMGQjKr86KLkoBh4aKXcqDrgOXSSGvg2xHML9NCoyTI= Received: by 10.65.116.7 with SMTP id t7mr12420778qbm; Fri, 15 Sep 2006 08:58:16 -0700 (PDT) Received: by 10.65.124.15 with HTTP; Fri, 15 Sep 2006 08:58:16 -0700 (PDT) Message-ID: <62b856460609150858v4e8a2213m3096ce1a49fc80c8@mail.gmail.com> Date: Fri, 15 Sep 2006 17:58:16 +0200 From: "Michael Grant" Sender: michael.grant@gmail.com To: "Giorgos Keramidas" In-Reply-To: <20060915120835.GB33397@gothmog.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <62b856460609141011s72e72eah70996448f74e7cd0@mail.gmail.com> <20060915101824.GB30999@gothmog.pc> <62b856460609150456j590be070v420472f319f06947@mail.gmail.com> <20060915120835.GB33397@gothmog.pc> X-Google-Sender-Auth: 46accd199f3b4b6c Cc: freebsd-questions@freebsd.org Subject: Re: cvs question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 15:58:24 -0000 [#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 wrote: > On 2006-09-15 13:56, Michael Grant wrote: > >On 9/15/06, Giorgos Keramidas wrote: > >>On 2006-09-14 19:11, Michael Grant 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? > >