I want to write a script that can re-assign a new password for Unix
users. For example :
cat /tmp/usrlist | while read user newpasswd
echo "$newpasswd" | passwd $user
The script above is not work because passwd command always prompt for
password on screen.
I will very appreciated,if you can make a copy of your answering to my