info-cvs
[Top][All Lists]
Advanced

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

Re: cvs commit as root


From: Harry Putnam
Subject: Re: cvs commit as root
Date: Sat, 08 Dec 2001 08:43:28 -0800
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu)

address@hidden (Larry Jones) writes:

> Harry Putnam writes:
>> 
>> But cvs commit still results in:
>>   "/tmp/cvsc_ayxh" 8 lines, 296 characters 
>>   cvs [server aborted]: cannot commit files as 'root'
>>   cvs commit: saving log message in /tmp/cvsd_ayxh
>
> What connection method are you using?  If you're using :pserver:, not
> having a -f global option in the pserver command line in /etc/inetd.conf
> can cause that problem.

[A NOTE for clarity: The cvs in question at this point is current cvs
sources  (todays') for ccvs.  (Like you said, the gssapi thing is
working now)

The cvs on the server machine is released:
Concurrent Versions System (CVS) 1.11.1p1 (client/server)]


No, this connection is over ssh using CVS_RSH set to ssh and the ext
syntax. Like:

   cvs -d :ext:HOST:/usr/local/cvsroot

I don't actually use that syntax on the command line.  I think it just
happens because I have $CVSROOT set to the machine with the cvsroot
files (CVSROOT=HOST:/usr/local/cvsroot) and CVS_RSH set to
CVS_RSH=/usr/local/bin/ssh

Ahaa,  I think I see the answer in my explanation above.  Since
cvsroot is on a remote machine there is an extra step in deciding who
is who, by cvs.  The remote cvs is answering about root not being
allowed and is not aware of what `who am i' shows on the calling
machine.

Am I getting close? .. No.. That would mean that editing options.h
wouldn't help.  But it does. I did compile that way and try it.  So
what else is going on?


reply via email to

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