From owner-freebsd-questions@FreeBSD.ORG Thu Nov 20 21:27:01 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 5B3FB16A4CE for ; Thu, 20 Nov 2003 21:27:01 -0800 (PST) Received: from mail.mi.celestial.com (dagney.celestial.com [192.136.111.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5CAB43FE0 for ; Thu, 20 Nov 2003 21:27:00 -0800 (PST) (envelope-from bill@celestial.com) Received: by mail.mi.celestial.com (Postfix, from userid 203) id 9A48311EF68; Thu, 20 Nov 2003 21:27:00 -0800 (PST) Date: Thu, 20 Nov 2003 21:27:00 -0800 From: Bill Campbell To: questions@freebsd.org Message-ID: <20031121052700.GA28799@alexis.mi.celestial.com> Mail-Followup-To: questions@freebsd.org 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 Subject: Re: How can I set a password from STDIN? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 05:27:01 -0000 On Fri, Nov 21, 2003, 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. The ``expect'' program is designed to handle this problem. Bill -- INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC UUCP: camco!bill PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 URL: http://www.celestial.com/ ``One of the common failings among honorable people is a failure to appreciate how thoroughly dishonorable some other people can be, and how dangerous it is to trust them.'' - Thomas Sowell