Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Nov 1999 10:35:39 -0700 (MST)
From:      Nick Rogness <nick@rapidnet.com>
To:        Johan Kruger <jkruger@oskar.nanoteq.co.za>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: passwd and chat
Message-ID:  <Pine.BSF.4.05.9911041031190.83667-100000@rapidnet.com>
In-Reply-To: <38215719.21C7A907@oskar.nanoteq.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9911041031190.83667-100000>