Bug 16418

Summary: pw usermod is not work properly
Product: Base System Reporter: Masachika ISHIZUKA <ishizuka>
Component: binAssignee: davidn
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   

Description Masachika ISHIZUKA 2000-01-28 07:40:01 UTC
	pw usermod is not work properly.

Fix: 

Copy /usr/sbin/pw from 3.3-RELEASE.
How-To-Repeat: 
	pw useradd user1 -u 12345
	pw usershow user1
	pw usermod -n user1 -l user2
	pw usershow user2
Comment 1 ru freebsd_committer freebsd_triage 2000-01-28 17:54:24 UTC
Responsible Changed
From-To: freebsd-bugs->davidn

Over to the maintainer. 
Comment 2 davidn freebsd_committer freebsd_triage 2000-06-06 23:33:06 UTC
State Changed
From-To: open->closed

Fixed in rev 1.13 of pwupd.c (will be MFC after testing period). 
Note that this problem was isolated to use of usermod -l and that the bug has always 
existed in pw(8), but the symptoms were being masked before the code affected was 
restructured/optimized. 
Thanks for the bug report!