Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 01:26:10 -0800 (PST)
From:      niederacher@fh-vorarlberg.ac.at
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/17069: /usr/sbin/pw pw(8) fails for a specific username "mod"
Message-ID:  <200002290926.BAA41504@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <username>" instead off "pw useradd -n <username>"

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002290926.BAA41504>