in reply to Re: Re: Shadow Passwords
in thread Shadow Passwords

I would seriously consider Util's (++) suggestion about using Expect. His point about PAM and hashing algorythm is worthy of examination, IMHO. This also makes the solution more portable, as generally passwd has a very similar behavior among systems. This is not true for useradd or adduser.

Best regards

-lem, but some call me fokat