[Top][All Lists]

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

Re: history shows different login -CVS

From: Larry Jones
Subject: Re: history shows different login -CVS
Date: Tue, 4 Dec 2012 16:42:07 -0500

KM writes:
> This may be a stupid question, but I noticed today that when I
> committed/added a new file using a generic "build" login on my
> linux/redhat system, that the history in CVS shows the previous persons
> ID.  For example "jdoe" in history and not "build".  I can't seem to
> figure out how this is assocatied to his ID.  This may not even be a CVS
> setting, and may be related to an operating system setting, but I
> thought I'd ask anyway.

The user that history records can come from a number of different
places:  If you're using an authenticated client/server method like
pserver, it's the username the client sent to the server.  Otherwise, it
comes from getuid() and getpwuid() in the CVS (server) process unless
that's 0.  If it is 0, CVS uses the first of getlogin(), $LOGNAME, and
$USER that's set.
Larry Jones

Ha!  Wild zontars couldn't drag that information out of me!  Do your worst!
-- Calvin

reply via email to

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