Menu

#305 Password hashes are stored in opasswd as MD5

feature-request
closed-wont-fix
modules (176)
5
2009-09-29
2009-09-16
Ladadadada
No

Passwords are stored using MD5 in /etc/security/opasswd even when /etc/shadow is using SHA512 hashes.

Relevant line from the configuration files:

password sufficient pam_unix.so sha512 remember=4 shadow use_authtok

Discussion

  • Ladadadada

    Ladadadada - 2009-09-16

    I'm not sure which versions this is valid for but CentOS reports that I have 0.99.6.2-4.el5 installed. The most recent code seems to have Goodcrypt_md5() sprinkled through it which looks suspiciously like it might be the culprit.

     
  • Thorsten Kukuk

    Thorsten Kukuk - 2009-09-29
    • assigned_to: nobody --> t8m
     
  • Tomas Mraz

    Tomas Mraz - 2009-09-29

    Please just use the pam_pwhistory module instead of the remember option of pam_unix.

     
  • Tomas Mraz

    Tomas Mraz - 2009-09-29
    • milestone: 101532 --> feature-request
    • status: open --> closed-wont-fix
     
  • Thorsten Kukuk

    Thorsten Kukuk - 2009-09-30

    0.99.6 id pretty old, stable code trees are 1.0 and 1.1. 1.1.0 contains pam_pwhistory.

     

Log in to post a comment.

MongoDB Logo MongoDB