From owner-freebsd-questions@FreeBSD.ORG Fri Nov 21 00:48:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64AB616A4CE for ; Fri, 21 Nov 2003 00:48:13 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD85043FE3 for ; Fri, 21 Nov 2003 00:48:12 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 0656F13629; Fri, 21 Nov 2003 21:48:11 +1300 (NZDT) Date: Fri, 21 Nov 2003 21:48:10 +1300 From: Jonathan Chen To: Lefteris Tsintjelis Message-ID: <20031121084810.GB4287@grimoire.chen.org.nz> References: <3FBD97CE.8982F285@ene.asda.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3FBD97CE.8982F285@ene.asda.gr> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: How can I set a password from STDIN? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 08:48:13 -0000 On Fri, Nov 21, 2003 at 06:42:54AM +0200, Lefteris Tsintjelis wrote: > Hi, > > Would anyone know how can I set or change a password from STDIN? Neither > passwd or pw seem to accept STDIN. Use the -h 0 option for pw(8). Check the man pages for more details. -- Jonathan Chen ------------------------------------------------------------------------ "We laugh in the face of danger, we drop icecubes down the vest of fear" - Edmond Blackadder III