in reply to Why does getlogin always return same user name?
I use GIT, not CVS, so I'm not sure if this will be of help to you.
On looking at the CVS manual online, I found the history command which gives status of files and users.
As well, there are CPAN modules that deal with CVS. Perhaps the work is already done for you.
Anne
In Section
Seekers of Perl Wisdom