Red Hat Bugzilla – Bug 700185
Default action of pam_unix.so
Last modified: 2011-05-02 03:34:00 EDT
Description of problem:
The "default" action of the pam_unix.so module, when used in the password group, is to encrypt the password with the old DES encryption.
Like most pam modules, this is easily modified using additional options after using the module, and there are secure options available.
I am putting the idea out there, that the "default" option, or the option when no additional flags are passed to the pam_unix.so module, that it defaults to something more secure than DES encryption.
Version-Release number of selected component (if applicable):
Can reproduce every time
Steps to Reproduce:
1. In any of the pam.d files, if the option is set:
password required pam_unix.so
Password is encrypted using DES
Password should be encrypted with a more secure algorithm such as SHA[256|512], or even md5 may be acceptable.
This default cannot be changed in an already released Red Hat Enterprise Linux release. This should be requested as a feature for future Fedora Linux release so it can be included in a future Red Hat Enterprise Linux release.
I think the administrator or operator of the system should have to specify to actually downgrade the security to DES, rather than accidentally delete the flags, and lose a fair amount of security based on the default action of pam_unix.so
I agree with you that the default should be changed, but it cannot be changed for already released Red Hat Enterprise Linux releases.