in reply to Re^3: passwords with special characters are trying to kill me... no seriously!
in thread passwords with special characters are trying to kill me... no seriously!

Yep, I have been running this script for a few months and it works great as long as the password doesnt have a special character like "$" in it.

From the passwd manpage:

       --stdin
              This  option is used to indicate that passwd should read the new pass-
              word from standard input, which can be a pipe.
  • Comment on Re^4: passwords with special characters are trying to kill me... no seriously!