From dannyman@arh0300.urh.uiuc.edu  Tue Feb 10 21:10:40 1998
Received: from arh0300.urh.uiuc.edu (arh0300.urh.uiuc.edu [130.126.72.10])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA21041
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Feb 1998 21:10:38 -0800 (PST)
          (envelope-from dannyman@arh0300.urh.uiuc.edu)
Received: (from dannyman@localhost)
	by arh0300.urh.uiuc.edu (8.8.8/8.8.5) id XAA21214;
	Tue, 10 Feb 1998 23:10:33 -0600 (CST)
Message-Id: <199802110510.XAA21214@arh0300.urh.uiuc.edu>
Date: Tue, 10 Feb 1998 23:10:33 -0600 (CST)
From: dannyman <dannyman@arh0300.urh.uiuc.edu>
Reply-To: dannyman@arh0300.urh.uiuc.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: pw: "pwd_mkdb: illegal option -- c"
X-Send-Pr-Version: 3.2

>Number:         5715
>Category:       bin
>Synopsis:       pw fails with "pwd_mkdb: illegal option -- c"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 10 21:20:01 PST 1998
>Closed-Date:    Thu Feb 12 01:40:22 PST 1998
>Last-Modified:  Tue Nov 27 19:25:14 PST 2001
>Originator:     dannyman
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

relevant line from /etc/group;
tunji:*:1008:

there is no /etc/pw.conf

>Description:

# pw adduser tunji -u 1008 -g 1008 -s /usr/local/bin/tcsh -w random
pwd_mkdb: illegal option -- c
usage: pwd_mkdb [-c] [-p] [-d <dest dir>] [-u <local username>] file
pw: password update: Input/output error

>How-To-Repeat:

Upon creating an /etc/pw.conf with similar options, same result with;
pw adduser tunji -u 1008 -g 1008
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: wosch 
State-Changed-When: Thu Feb 12 01:40:22 PST 1998 
State-Changed-Why:  
My fault. Sorry. Fixed in src/usr.sbin/pw/pwupd.c Revision 1.7  
>Unformatted:
