Piping a password to passwd

Jeremy Huntwork jmhuntwork at linuxfromscratch.org
Tue Jan 25 06:49:58 PST 2005


Archaic wrote:
> 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 Chapter
>>5 and that you've got devpts mounted.
> 
> 
> Total overkill. ;)
> 
> echo "username:password" |chpasswd
> 

Heh. Well that seems to be my style. :/  And that's what I get for using 
google to find answers for myself instead of asking those more 
knowledgable. :)

--
Jeremy Huntwork



More information about the lfs-dev mailing list