Hi Chris,
Sorry I forgot to mention, I'm not using unix user but virtual user stored in /etc/pureftpd.passwd
So to change password I need to use the command
pure-pw
So your solution does not apply, but it help me a lot to find the answer anyway.
The following works fine for me:
Code:
( echo "TelPassword" ; echo "TelPassword" ) | pure-pw passwd Tel -f /etc/pureftpd.passwd -m
Thanks a lot,