[Cvsnt] Latest updates - prbblem adding user with passwd command

Sune Falck Sune.Falck at telia.com
Mon Feb 25 18:27:30 GMT 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.


I'm having problems administrating users with rhe passwd command.
Existing user info in the passwd file is overwritten and the result is
an unusable passwd file.

Example session:
============
C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv version
Client: Concurrent Versions System (CVSNT) 1.11.1.3 rc1 (Build 53)
(client/server)
Server: Concurrent Versions System (CVSNT) 1.11.1.3 rc1 (Build 53)
(client/server)

Changing the passsword for the only user
===============================

C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv passwd
Changing password for sunfal at localhost
New password: ******
Verify password: ******

C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv login
Logging in to :pserver:sunfal at localhost:2401/arkiv
CVS password: ******

C:\dev\arkiv\CVSROOT>more passwd
sunfal:bbrkaPUcMhjjs

Adding a new user
=============
C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv passwd -a xuser
Adding user xuser at localhost
New password: ****
Verify password: ****

C:\dev\arkiv\CVSROOT>more passwd
sunfalxuser:kdZqgkAP0EIkg

An ASCII dump to show
C:\dev\arkiv\CVSROOT>od -a passwd
0000000   s   u   n   f   a   l   x   u   s   e   r   :   k   d   Z   q
0000020   g   k   A   P   0   E   I   k   g
0000031

Both user accounts are unusable after this operation and there is no
line-feed
==========================================================

A new test
========
C:\dev\arkiv\CVSROOT>od -a passwd
0000000   s   u   n   f   a   l   :  nl
0000010

C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv passwd
Changing password for sunfal at localhost
New password: *******
Verify password: *******

C:\dev\arkiv\CVSROOT>od -a passwd
0000000   s   u   n   f   a   l   :   I   0   e   i   g   1   6   g   h
0000020   H   q   h   U
0000024

Missing new line after password update.
==============================

A new test with passwd line ending in cr/lf
================================
C:\dev\arkiv\CVSROOT>od -a passwd
0000000   s   u   n   f   a   l   :   I   0   e   i   g   1   6   g   h
0000020   H   q   h   U  cr  nl
0000026

C:\tmp>cvs -d :pserver:sunfal at localhost:/arkiv passwd
Changing password for sunfal at localhost
New password: *******
Verify password: *******

C:\dev\arkiv\CVSROOT>od -a passwd
0000000   s   u   n   f   a   l   :   O   8   4   W   W   N   8   X   O
0000020   g   q   E   k
0000024

No line terimator in this case either
==========================

Sune Falck





_______________________________________________
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