[Issue 256] New - Add command-line optio n to specify cvs user

[email protected] 20 Jun 2005 18:35:43 -0000
Newsgroups gmane.comp.version-control.cvs.issuezilla
Message-ID <[email protected]>
https://ccvs.cvshome.org/issues/show_bug.cgi?id=256
                 Issue #|256
                 Summary|Add command-line option to specify cvs user
               Component|ccvs
                 Version|1.10.x
                Platform|All
                     URL|http://www.cs.berkeley.edu/~smcpeak/cvsguest/
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|FEATURE
                Priority|P3
            Subcomponent|command line
             Assigned to|issues@ccvs
             Reported by|smcpeak






------- Additional comments from [email protected] Mon Jun 20 11:35:43 -0700 2005 -------
CVS has a notion of "user" that is (as I understand it) just a text string
stored with commits, etc.  When CVS is run locally, its "user" is initialized
to be the same as the local username.  But when run (e.g.) via pserver, the
"user" is specified in the protocol stream.

I would like an option to specify the CVS "user" when it is run locally, too.

The rationale is this way I can build a system for remote CVS access over SSH
without creating a local user account for each remote user.  Please see

  http://www.cs.berkeley.edu/~smcpeak/cvsguest/

for more information and a proposed patch that adds this option.

Note that this does not introduce a security hole.  When run locally, the cvs
client is simply manipulating files the local user has access to already via
the access control mechanisms in the host OS.  A local user could simply
compile their own version of cvs with my patch applied, or even manipulate
the cvs database files directly.  Adding this option to the mainline cvs
codebase just makes setting up the cvsguest system easier on admins, since
they do not have to apply the patch themselves.