[Top][All Lists]

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

Re: commit error: you are unknown to this system

From: Larry Jones
Subject: Re: commit error: you are unknown to this system
Date: Thu, 7 Mar 2002 13:59:45 -0500 (EST)

Mirco Bova writes [quoting me]:
> >That means that the CVS server is running as root
> >(which it shouldn't be)
> Why? I mean we found some exaples in cederqvist where cvs pserver was
> running as root.
> 2401  stream  tcp  nowait  root  /usr/local/bin/cvs
> cvs --allow-root=/usr/cvsroot pserver
> pherhaps we wisunderstood something?

I should have been more clear.  The server starts out running as root,
but it only runs as root long enough to validate the client's specified
username and password; as soon as that's done, it changes user to run as
the specified user.  You get the "unknown to this system" message
because you're still running as uid 0 after that switch.

> >and your CVS username isn't a valid system username.
> >You say mirco maps to mirco.bova in CVSROOT/passwd,
> >is mirco.bova just an alias for root (i.e., uid 0)?
> no mirco.bova is a normal user. We also tried mapping mirco to root
> but it doesn't work...

Are you sure you're running as mirco?  CVS saves the connection
information (including the username) for a working directory (in
CVS/Root) when you first check it out and then uses that saved
information rather than $CVSROOT for all subsequent operations.  You
might want to checkout a new working directory and see if that solves
the problem.

-Larry Jones

Who, ME?  Who?! Me??  WHO... Me?!  Who, me??? -- Calvin

reply via email to

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