From owner-freebsd-questions Fri Jan 9 06:42:10 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA02425 for questions-outgoing; Fri, 9 Jan 1998 06:42:10 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from emma.eng.uct.ac.za (emma.eng.uct.ac.za [137.158.128.160]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA02412 for ; Fri, 9 Jan 1998 06:42:04 -0800 (PST) (envelope-from shaun@emma.eng.uct.ac.za) Received: (from shaun@localhost) by emma.eng.uct.ac.za (8.8.8/8.8.8) id QAA06149; Fri, 9 Jan 1998 16:41:50 +0200 (SAT) (envelope-from shaun) Message-ID: <19980109164149.47978@emma.eng.uct.ac.za> Date: Fri, 9 Jan 1998 16:41:49 +0200 From: Shaun Courtney To: questions@FreeBSD.ORG Subject: Adding a user and passwd with "pw" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88e Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi I'm running 2.2.5-STABLE and 3.0-CURRENT. I'm trying to add users using the pw command. Everything works except I can't add the passwd. I've tried: echo "passwd" | pw useradd -n test ...... -h 0 but it fails. I've edited a /etc/pw.conf file and set default passwd to random but then it used this setting rather than the passwd I'm trying to feed it. Any help would be appeciated. Cheers Shaun -- Department of Electrical Engineering and CERECAM Unix System Administrator and Unix support AD E4 BF C8 51 94 B2 06 36 24 6A C1 A3 3A 5D 01 http://www.eng.uct.ac.za