From owner-freebsd-bugs Tue Feb 29 1:30: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id ED12E37BABF for ; Tue, 29 Feb 2000 01:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA41837; Tue, 29 Feb 2000 01:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AB5F037BA96 for ; Tue, 29 Feb 2000 01:26:10 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA41504; Tue, 29 Feb 2000 01:26:10 -0800 (PST) (envelope-from nobody@FreeBSD.org) Message-Id: <200002290926.BAA41504@freefall.freebsd.org> Date: Tue, 29 Feb 2000 01:26:10 -0800 (PST) From: niederacher@fh-vorarlberg.ac.at To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: misc/17069: /usr/sbin/pw pw(8) fails for a specific username "mod" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17069 >Category: misc >Synopsis: /usr/sbin/pw pw(8) fails for a specific username "mod" >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 29 01:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Egon Niederacher >Release: 3.2 >Organization: Fachhochschule Vorarlberg >Environment: FreeBSD gnu.tvlbg.ac.at 3.2-19990810-STABLE FreeBSD 3.2-19990810-STABLE #3: Tue Sep 14 19:23:56 CEST 1999 root@gnu.tvlbg.ac.at:/usr/src/sys/compile/GNU i386 >Description: our account management tools uses pw(8) for manipulating unix accounts on several hosts. we have always used the "short mode" when specifying usernames: e.g. "pw useradd " instead off "pw useradd -n " today we tried to create a user named "mod". This paricular username failed in "short mode" (pw useradd mod ... and pw usermod mod ...) on several machines running different versions of freebsd. however rewriting the scripts to issue an pw useradd -n mod ... and pw usermod -n mod ... solved the problem >How-To-Repeat: as described above: try pw useradd mod ... >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message