From owner-freebsd-questions Sun Jan 10 21:53:44 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA10660 for freebsd-questions-outgoing; Sun, 10 Jan 1999 21:53:44 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from market.net.tw (market.net.tw [203.74.62.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA10655 for ; Sun, 10 Jan 1999 21:53:42 -0800 (PST) (envelope-from cch@market.net.tw) Received: from market.net.tw (pilot.market.net.tw [203.74.62.101]) by market.net.tw (8.8.8/8.8.5) with ESMTP id NAA11550 for ; Mon, 11 Jan 1999 13:47:55 +0800 (CST) Message-ID: <369993BF.E1602BD2@market.net.tw> Date: Mon, 11 Jan 1999 14:01:36 +0800 From: Cch Reply-To: cch@market.net.tw Organization: FreeBSD Server X-Mailer: Mozilla 4.07 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: About pw command in FreeBSD 3.0-CURRENT Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear pw author, When I use the command: pw useradd master2 -u 2001 -c "test" -d "/home/user/master2" -g 0 -s "/bin/sh" in FreeBSD 3.0-CURRENT, it halts and has no response. But this command works in FreeBSD 2.2.7-RELEASE. Followings are some information about this problem in 3.0C: 1. when the command halts, ps axw | grep pw, I see: 931 p1 I 0:00.01 /usr/sbin/pwd_mkdb -C /etc/master.passwd 950 p1 I+ 0:00.01 pw useradd master2 -u 2001 -c test -d /home/user/maste r2 -g 0 -s /bin/sh 2. when I gdb it, it works! 3. my system uname -a: FreeBSD pilot.market.net.tw 3.0-CURRENT FreeBSD 3.0-CURRENT #0: Fri Jan 8 17:32 :56 CST 1999 cch@pilot.market.net.tw:/usr/src/sys/compile/MYKNL i386 Thank you in advance! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message