Date: Thu, 3 Apr 2003 16:14:34 +0300 (EEST) From: Taras Panchyshyn <ptm@ns.tr.ukrtel.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/50563: two records about user in master.passwd after usage command "chsh" Message-ID: <200304031314.h33DEYrq025549@ns.tr.ukrtel.net> Resent-Message-ID: <200304031320.h33DKHtf034838@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50563 >Category: bin >Synopsis: two records about user in master.passwd after usage command "chsh" >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 03 05:20:17 PST 2003 >Closed-Date: >Last-Modified: >Originator: Taras Panchyshyn >Release: FreeBSD 5.0-RELEASE i386 >Organization: Ukrtelecom >Environment: System: FreeBSD ns.tr.ukrtel.net 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 root@hollin.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: I'm use a command chsh to change user information ns# chsh emsternopil #Changing user information for emsternopil. Login: emsternopil Password: $1$nlqz3wgz$dIkazFbakjPpdodx.jlRX1 Uid [#]: 2075 Gid [# or name]: 1038 Change [month day year]: Expire [month day year]: Class: Home directory: /services/ftp Shell: /bin/csh Full Name: 584. Tern. Vuzol spec-zvjazku Office Location: s. Strilciv 6 Office Phone: 22-32-79 Home Phone: Other information: :wq After edition of information about user and save and update the information in the user's database (master.passwd) appear two records about this user :old record and record whitch changes that was made by chsh: ns# more /etc/master.passwd | grep emsternopil emsternopil:$1$nlqz3wgz$dIkazFbakjPpdodx.jlRX1:2075:1038::0:0:584. Tern. Vuzol spec-zvjazku,s. Strilciv 6,22-32-79:/services/ftp:/bin/csh emsternopil:$1$nlqz3wgz$dIkazFbakjPpdodx.jlRX1:2075:1038::0:0:584. Tern. Vuzol spec-zvjazku,s. Strilciv 6,33-90-22 22-32-79,43-59-80:/services/ftp:/bin/csh In the older version of FreeBSD (4.3 - 4.7) command chsh work properly. >How-To-Repeat: ns# adduser Username: Username adduser dialog ... ns# chsh Username editing of gecos field ... ns# chsh Username editing of gecos field ... The problem appear when fields "Office Location:" and "Office Phone:" was edited more than once by command "chpass" >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304031314.h33DEYrq025549>