I am in need of a script to reset a select group of users passwords,BUT, it must not prompt for input.
eg
LST="fred john mary"
for nam in $LST
do
passwd $nam
done
It must not prompt for input but just reset the password so that the user gets prompted at next login.
eg
LST="fred john mary"
for nam in $LST
do
passwd $nam
done
It must not prompt for input but just reset the password so that the user gets prompted at next login.