I was just discussing virtual-user password changing with a friend, and how annoying it is not to have a way to easily change passwords via either squirrelmail or imp.
This is because both of them are nothing more than glorified IMAP clients, and IMAP has no facility to change passwords.
Short of writing a kludge for either of these systems to interact directly with the userdb file, I was wondering if the authdaemon had any sort of hooks for changing user passwords - it
Yes, it does. The socket command is:
PASSWD<SPACE>service<TAB>userid<TAB>oldpassword<TAB>newpassword
On another note, is there any sort of commandline utility for changing userdb info NOT from root - ie. let a user change his/her own info?
No.
pgp00000.pgp
Description: PGP signature