Piping a password to passwd
jamie_bennett at pcpmicro.co.uk
Tue Jan 25 06:25:03 PST 2005
Archaic wrote on 25 January 2005 14:29
> On Tue, Jan 25, 2005 at 07:50:40AM -0500, Jeremy Huntwork wrote:
>> Use expect. Of course, that's assuming you've got expect built from
>> 5 and that you've got devpts mounted.
> Total overkill. ;)
> echo "username:password" |chpasswd
He he, Jeremy. We use | chpasswd in the alfs profiles .
More information about the lfs-dev