[Cvsnt] problems adding new logins

Bo Berglund bo.berglund at telia.com
Mon Apr 1 23:20:25 BST 2002


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Mon, 1 Apr 2002 21:40:40 +0000 (UTC), Bryan Ross
<BRoss at imustplay.com> wrote:

>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>--
>[ Picked text/plain from multipart/alternative ]
>Sorry, I'm using the latest version from cvsint.org
>
>CVSNT 1.11.1.3 (Build 57a)
>
>I'm trying to set up cvsnt to use the pserver protocol, as I'd like the
>installation to be as self-contained as possible ( I don't want to have to
>mess with NT accounts ).
>
>The machine I'm running it on is Windows 2000 Server. I have basically full
>control of the box ( via Terminal Server ) and have Administrative
>privelages.
>
>Bryan Ross
>Programmer
>iMustPlay.com
>818-265-0255 x236
>bross at imustplay.com
>

You will need to set up the passwd file once using :ntserver:, which
does not require login. Otherwise there will be a Catch-22 problem
here. So do one of the following:

1) Change to ntserver by setting cvsroot to
:ntserver:cvsserver:/reporoot
Then use the cvs passwd command to add users like this example:

C:\test\castor>cvs passwd -r bosse -a luke
Adding user luke at castor
New password: *******
Verify password: *******

This adds luke to the cvs users on server castor and aliases him to
user bosse.
Make sure to add yourself to the users this way too.

2) Edit the passwd file directly (create if needed) and add one line
to the file:
bross::administrator
(yourself with no password but aliased to the administrator, please
change as needed)

Now you should be able to log in as bross using pserver and get
administrative priviliges on the repository. Once you are logged in
you can always change your blank password to a better one by executing
cvs passwd and typing in the new password twice.

Note that you cannot completely bypass NT accounts here, because all
cvs users must either themselves be valid NT accounts or be aliased to
valid NT accounts. And only those accounts that are local admins will
be allowed to administrate the cvs repository. (That's why I added the
alias for your entry above, but if you are an admin, then just remove
the alias.

If you want to have users with blank passwords then build 57a is not
good enough, its cvs passwd barfs at empty passwords. I have modified
it by merging in Tony's fix on the development branch into the release
branch and compiled a new version myself. If you need this either you
will have to wait for the next release from Tony or email me a request
and I will send you my files.


/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook