[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Test user password against a known value



I need to write a script (preferably bash, perl if necessary) that can test a 
specified user's password against a test password to see if they have changed 
it or not.

It should be as simple as running an MD5 over the test password and comparing 
to the MD5 password stored for them to make sure it matches, right?

Does anyone have any scripts for doing this on a Red Hat 7.1 system?

-- 
Regards,
+-----------------------+---------------------------------+
| Peter Kiem            | E-Mail    : <zordah zordah net> |
| Zordah IT             | Mobile    : +61 0414 724 766    |
|   IT Consultancy &    | WWW       : www.zordah.net      |
|   Internet Hosting    | ICQ       : "Zordah" 866661     |
+-----------------------+---------------------------------+








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]