Rodent of Unusual Size writes:
> 
> As I understand it, the USER variable is set to the username of
> the server-local user actually accessing the repository.  In the
> case of a pserver-accessed repository, with usernames mapped
> through the CVSROOT/passwd file mechanism, this will typically
> be the value of the third field in the matching entry in the
> CVSROOT/passwd file.

You misunderstand.  The CVS internal variable "USER" is set to the name
of the remote user, not the user the CVS server is running as.  (The
"USER" environment variable, however, *is* set to the local username the
server is running as, just as though an "su" had been done.)  See
"Expansions in administrative files" in the Cederqvist manual for more
information on internal variables.

-Larry Jones

Just when I thought this junk was beginning to make sense. -- Calvin

Reply via email to