info-cvs
[Top][All Lists]
Advanced

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

Re: need to force username of cvs 'action' when using


From: Larry Jones
Subject: Re: need to force username of cvs 'action' when using
Date: Mon, 3 May 2004 22:58:56 -0400 (EDT)

tim grote writes:
> 
> From the cvs manual: 
>
> "Multiple users sharing an rsh account
> If multiple users share an account on the CVS server
> and access it with rsh, then there is normally no way
> to distinguish which user made a particular checkin.
> One clever solution, which requires no CVS
> modification, is to have each user set CVS_SERVER to a
> script which sets LOGNAME and USER to something
> unique, and then invokes the CVS server. Might want to
> document this somewhere (and add to sanity.sh)." 
> 
> So, has anyone done this?!?!?!

No, because it doesn't work and never has as far as I know.  What
version of the manual are you looking at -- there's nothing like that in
the current manual (for either the stable or new feature versions).  CVS
gets the username from the uid, nowhere else.  (Unless the uid is 0, in
which case it tries to find the real username by calling getlogin(). 
Only if that fails does it resort to checking $LOGNAME and $USER.)

-Larry Jones

When I want an editorial, I'll ASK for it! -- Calvin




reply via email to

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