Hi Jake, > That is basically what I have now to see if the user exists, but I can't use > this because I'm using shadow passwords, the only thing that is in position > 2 of /etc/passwd is x. So, anyone know of any other ways that I can achieve > this? Thanks for the help though.
I did this by installing the poppassd daemon and then writing a PHP class to call poppassd with the username, old password and new password and poppassd did all the work for me :) I guess you could write something similar in Perl. If you want the PHP source code then let me know. -- Regards, +-----------------------+---------------------------------+ | Peter Kiem | E-Mail : <[EMAIL PROTECTED]> | | Zordah IT | Mobile : +61 0414 724 766 | | IT Consultancy & | WWW : www.zordah.net | | Internet Hosting | ICQ : "Zordah" 866661 | +-----------------------+---------------------------------+ _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list