[Top][All Lists]

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

Re: [Lilax] who runs cvs?

From: Michael Elkins
Subject: Re: [Lilax] who runs cvs?
Date: Fri, 10 Aug 2001 12:58:17 -0700
User-agent: Mutt/1.2.5i

The user `remote' has to exist on the system, or you need to specify which
user to run as in the CVSROOT/passwd file.  From the info page:

           If the system-user field is present, all password-authenticated CVS
        commands run as that user; if no system user is specified, CVS simply
        takes the CVS username as the system username and runs commands as that
        user.  In either case, if there is no such user on the system, then the
        CVS operation will fail (regardless of whether the client supplied a
        valid password).


On Fri, Aug 10, 2001 at 02:18:05PM -0400, Ronald Edward Petty wrote:
> Here is my cvspserver in xinetd.d
> service cvspserver
> {
>       flags   = REUSE
>       socket_type     = stream
>       wait    = no
>       protocol        = tcp
>       user    = root
>       server  = /usr/bin/cvs
>       server_args     = --allow-root=/repository pserver
>       log_on_failure  += USERID
>       disable = no
> }
> I have a user called cvs, and a group called cvs on the CVS server, and a
> user called remote in the cvs group also on there server.  Now
> if I run
> cvs -d :pserver:address@hidden:/repository login
> (Loggin in to address@hidden)
> CVS password:
> .. now Im back to my client machine prompt no erros
> cvs -d :pserver:address@hidden:/repository checkout repository
> cvs server: cannot open /root/.cvsignore: Permission denied
> cvs [server aborted]: can't chdir(/root): Permission denied
> I read info xinetd.conf and it says that the user = root should mean the
> server is running the service cvspserver as root, so why can't root open
> its home and chdir?  Am I missing something here?
> Thanks for the tip.
> Ron
> _______________________________________________
> Lilax mailing list
> address@hidden

reply via email to

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