[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: history shows different login -CVS
From: |
Arthur Barrett |
Subject: |
RE: history shows different login -CVS |
Date: |
Wed, 5 Dec 2012 10:43:29 +1100 |
KM,
And it caries again depending on the client software. Eg: if you are using
WinCVS, TortoiseCVS or anything else that uses the CVSNT client then it will
depend on the CVSROOT which you used to create the sandbox.
Eg:
- named user: :pserver:address@hidden:/myrepo
- current user: :pserver:myhost:/myrepo
We always recommend you create the sandboxes using the 'current user' method -
then many people can 'share' a sandbox and when each 'commits' it's their
'logged in name' that gets used no the name of the person who created the
sandbox.
Regards,
Arthur Barrett
Product Manager CVSNT
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Larry Jones
> Sent: 05 December 2012 08:42
> To: address@hidden
> Cc: cvs-user-list
> Subject: Re: history shows different login -CVS
>
>
> 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
>
>