Piping a password to passwd
jmhuntwork at linuxfromscratch.org
Tue Jan 25 07:02:56 PST 2005
Jamie Bennett wrote:
> 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 
Doh. Should have looked there first! Ok, think I've embarrased myself
enough for today...
More information about the lfs-dev