Call a script called /etc/update-pass.sh every time a user change his password using linuxconf (a user or an admin). The script is called with the following argument /etc/update-pass.sh user password You must write the script to do what you want