in reply to Re: shadow passwd
in thread shadow passwd

cat THATFILE | /usr/sbin/chpasswd -e
Had you been posting this to usenet, I would have handed you one of my Useless use of Cat awards for this one.

Just use:

/usr/sbin/chpasswd -e <THATFILE
No need to waste a process.

-- Randal L. Schwartz, Perl hacker