[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need to force username of cvs 'action' when using shared SSH account
From: |
Pierre Asselin |
Subject: |
Re: need to force username of cvs 'action' when using shared SSH account |
Date: |
Sat, 1 May 2004 20:35:05 -0400 |
User-agent: |
tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (Linux/2.2.19-7.0.1 (i586)) |
TG <address@hidden> wrote:
> Here is the issue: I noticed that the name of the committer for each
> file that I committed was unix account id, or the one that is used to
> SSH into the cvs machine. Now I have multiple developers(committers)
> and ONLY ONE shared shell account on the machine where is CVS is
> running.
Is there a reason why you can't use the old-fashioned strategem
of one account per developer ?
> I need to be able to force a unique name for each developer
> that CVS will log.
> Here is what I've tried so far:
> A. In front of each developers public key, I placed:
> command="/home/mydomain/bin/setuserscript
> theuser",no-port-forwarding,no-pty
You can also use $HOME/.ssh/environment on the client side to tunnel
environment variables of your choice. I've never tried it myself, I
just saw that in the ssh man page. (Your developers would be able to
cheat, though.) The trouble is, CVS doesn't look at the environment to
decide who's calling.
> There HAS to be a way to force cvs to record the correct committer
> name.
Why ? Why would cvs extract that information from a source other than
its own euid ?