how to change password
We have a sftp server, and both ftp and sftp is working fine. All sftp user's login shell is set to /sbin/nologin by which they can login only through ftp clients/commands(sftp, lftp, filezilla & browsers etc) to only their home directory. Now if we implement password aging poicy to the sftp users then will they be able to reset their password themself during before their password expiry?
For that we don't want to change the user's login shell to /bin/sh or /bin/bash to achieve the same with "passwd username" command instead is it possible to change the system user's password with any perl, python or php scripts. If yes I am requesting to provide the links to download such scripts if any.
Last edited by cli; 10-04-2014 at 03:08 AM.