From owner-freebsd-questions Fri Apr 20 8: 3: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-64-193-218-89.telocity.com (dsl-64-193-218-89.telocity.com [64.193.218.89]) by hub.freebsd.org (Postfix) with SMTP id A62E037B424 for ; Fri, 20 Apr 2001 08:02:59 -0700 (PDT) (envelope-from lucas@slb.to) Received: (qmail 21779 invoked by uid 1000); 20 Apr 2001 15:03:20 -0000 Date: Fri, 20 Apr 2001 10:03:20 -0500 From: Lucas Bergman To: Odhiambo Washington Cc: freebsd-questions@freebsd.org Subject: Re: ADDUSER - non-intercative Message-ID: <20010420100320.C1492@billygoat.slb.to> Reply-To: lucas@slb.to References: <20010420161554.B30960@everest.wananchi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010420161554.B30960@everest.wananchi.com>; from wash@wananchi.com on Fri, Apr 20, 2001 at 04:15:54PM +0300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is surely a very dumb one but never mind...I am sure dumb in > this. Not really. The man page pw(8) mentions it, but it mumbles a lot about file descriptors; I can see how it would be tough for a newbie to catch. > I am looking for command line options to pw which will accept also a > password. I have searched the archives but still don't find it. You want the -h option: # echo 'newpassword' | pw usermod myname -h 0 Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message