From owner-freebsd-questions Fri Jan 9 12:57:47 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA12147 for questions-outgoing; Fri, 9 Jan 1998 12:57:47 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from send1a.yahoomail.com (send1a.yahoomail.com [205.180.60.22]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id MAA12132 for ; Fri, 9 Jan 1998 12:57:42 -0800 (PST) (envelope-from rgireyev@yahoo.com) Message-ID: <19980109205718.1177.rocketmail@send1a.yahoomail.com> Received: from [156.153.255.218] by send1a; Fri, 09 Jan 1998 12:57:18 PST Date: Fri, 9 Jan 1998 12:57:18 -0800 (PST) From: Rudy Gireyev Subject: Re: Adding a user and passwd with "pw" To: Shaun Courtney , questions@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk ---Shaun Courtney wrote: > > 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. Any reason for not using adduser or even /stand/sysinstall? > > 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 > _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com