[Top][All Lists]

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

cvs user, cvs password

From: Andrey Aristarkhov
Subject: cvs user, cvs password
Date: Mon, 12 Aug 2002 21:52:32 +0400

Hi all!

Some years ago I had a lot of administering issues with users who wanted
to change their password for CVS. As a result I've wrote cvspassword
program to allow such users change password via web. 
After some period of time I've rewrite the program to add commands
"user" and "pass(word)" to cvs.

Find README file for my project at the bottom of this message. I can
also post my implementation files and patches to CVS code.

Andrey Aristarkhov

README file for cvs user/pass(word) commands
  cvs user & cvs pass(word) commands implementation
  Author: Andrey Aristarkhov <Aristarkhov@bitechnology.ru>


Usage: cvs user <[-a | -m | -d] username> [-u alias] [-p | -P password]
        -a|-m|-d        'add', 'modify' or 'delete' user respectively
        -u      Use "alias" to specify system user for cvs-user.
        -P      Use "password" to specify user password in a command
line OR
        -p      enter user password interactively

Usage: cvs password [username]
        If no "username" is given password will be set for the current
        "username"      Use it if you want to change password for the
specified user

CVS' command "user" is intended to simplify user management within CVS
repository. It works with administrative file $CVSROOT/CVSROOT/passwd to
add/delete/modify users.

CVS' command "password" is intended to allow users change their own
passwords to CVS repository. Note: "user" and "password" commands work
with CVS users listed in passwd file. There is no way to change password
system users by means of these commands.

These commands have simplest security restrictions and considerations:
0. There must be a user named "admin" in CVS repository who has full
rights to
modify users in the CVS repository.
1. Only administrator can add and delete users.
2. Only administrator can change user alias.
3. User's password can be changed either by CVS Administrator or by a
person who
knows current user's CVS password.

Known issues
There is no way to add user "admin" to CVS' user list via cvs user
This user should be added manually.

To-Do List
1. Test cvs user & pass(word) command for various platforms. Current
is tested under FreeBSD 4.3-RELEASE.
2. "user" command should take additional paramters: Email and Name of
user to
add it to CVSROOT/notify admin file.
3. Write cvspasswd - standalone wrapper program around user/password
functions. (Currently is under development)

reply via email to

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