info-cvs
[Top][All Lists]
Advanced

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

RE: Using password file for pserver user authentication


From: George J. Schlitz
Subject: RE: Using password file for pserver user authentication
Date: Sat, 16 Feb 2002 22:49:41 -0500

Thanks Larry and Jeff,

I learned some from both of your responses, and will definitely be using
aspects of both responses.
For this particular problem, the following seems to give me exactly what I
need:
I have only one unix account: cvsuser...
In CVSROOT/passwd:
user1::cvsuser
user2::cvsuser
user3::cvsuser

In taginfo:
ALL $CVSROOT/CVSROOT/<script> $USER

In <script>, the following command line arguments are now available:
$1 The user who logged in via pserver- not necessarily the system user
$2 tag name
$3 operation (add, mov, del)
$4 repository
$5 file revision [file revision ...]

So if user1 logs in and tries to tag something, <script> is kicked off, and
$1=user1, while $USER=cvsuser

This is exactly what I need.

Thanks again
George

-----Original Message-----
From: Larry Jones [mailto:address@hidden
Sent: Friday, February 15, 2002 3:48 PM

        <http://www.cvshome.org/docs/manual/cvs_18.html#SEC170>

Recent versions of CVS also set the $CVS_USER environment variable.  For
further details, see:

        <http://www.cvshome.org/docs/manual/cvs_18.html#SEC176>

-Larry Jones

Kicking dust is the only part of this game we really like. -- Calvin




reply via email to

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