This is a pretty odd question, but I'd like my users to be able to change their passwords for my FTPS server, which is using local accounts. Currently all these users have /bin/false set as shell, but would it be possible to set a shell which would allow the user to change password and then disconnect him? I tried setting /usr/bin/passwd, but it just disconnects after filling in current password.
I am using Debian Wheezy.
/etc/shadow
if there's a line for the user inside. If not, try to recreate/etc/shadow
withpwconv
. If this still doesn't work, remove the password for the user viasudo passwd -d username
and set it again viasudo passwd username
. Then try again.