From owner-freebsd-hackers Thu Nov 4 9:36:44 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rapidnet.com (rapidnet.com [205.164.216.1]) by hub.freebsd.org (Postfix) with ESMTP id C8E6A150C2 for ; Thu, 4 Nov 1999 09:36:41 -0800 (PST) (envelope-from nick@rapidnet.com) Received: from localhost (nick@localhost) by rapidnet.com (8.9.3/8.9.3) with ESMTP id KAA85032; Thu, 4 Nov 1999 10:35:39 -0700 (MST) Date: Thu, 4 Nov 1999 10:35:39 -0700 (MST) From: Nick Rogness To: Johan Kruger Cc: freebsd-hackers@freebsd.org Subject: Re: passwd and chat In-Reply-To: <38215719.21C7A907@oskar.nanoteq.co.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 4 Nov 1999, Johan Kruger wrote: > How can i use chat on the command line to enter a new password without > interaction with passwd . > For example , i want to use chat to reply on New password and Retype > password, something like this : Why use chat when you can use pw(8)? Example: # echo "password" | pw usermod -n username -h 0 ******************************************************** Nick Rogness File not found... System Administrator Should I fake it (Y/N)? RapidNet, INC ******************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message