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?
Anyway, if nothing like this exists, I'll leave it as a feature request (I'm not a C coder).. just send username, old password and new password, and let authdaemon do the rest.
Chris, the simple answer to your this is to use the authlib/authtest binary from your courier distro. When passed with three parameters, it changes the password. You should make it a setuid root script. You of course have just opened your system to MAJOR vulnerability problems - especially if you've got authpam in authedaemond.
Note that if you attempt to use perl etc to open a domain socket to authdaemond, it too needs to be run as root. Perl has major inbuilt security limitations when you run it as setuid, meaning that a system call to the above would be your most instructive alternative.
Alan
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
