Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 14:01:36 +0800
From:      Cch <cch@market.net.tw>
To:        freebsd-questions@FreeBSD.ORG
Subject:   About pw command in FreeBSD 3.0-CURRENT
Message-ID:  <369993BF.E1602BD2@market.net.tw>

next in thread | raw e-mail | index | archive | help
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



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