From owner-freebsd-questions Thu Apr 22 11:45:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 92505154A5 for ; Thu, 22 Apr 1999 11:45:35 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA01995; Thu, 22 Apr 1999 11:43:03 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 22 Apr 1999 11:43:02 -0700 (PDT) From: Doug White To: notme Cc: "freebsd-questions@freebsd.org" Subject: Re: pw useradd and pw.conf In-Reply-To: <371E8846.5C2DC8B3@lvdi.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21 Apr 1999, notme wrote: > Hi, > When I read the man pages for pw.conf, I ran into an option > that allows me to set a specific password to the user via filehandle. > Does anyone have any idea on how to do that? > > If not, is there any other way of setting password of an account > when creating it with a shell script using pw? (Or actually, any > other way as long as it is not manually typing in "passwd"... :) Acutally, better command: echo ${PASSWD} | pw useradd {options} Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message