Shadow passwords - Changing encryption method from MD5 to SHA
Hey all,
I'm looking to find out exactly how to go about changing the encryption method of shadow passwords from MD5 to something a bit stronger, like SHA. I've been looking around for a bit now and haven't found out how to do it. This is for CentOS 5. I've gathered that I'll most likely need to change the /etc/pam.d/system-auth file. Right now, there is a line that looks like this: Code:
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok What else? I know I'll need to reset all passwords once the change is made, but I thought there was someplace else that controls how the passwd command encrypts passwords. Any suggestions please? Thanks! |
This will be a little different on various distros. On the RedHat family, you might be able to use system-config-authorization.
You might find this Q and A helpful, particularly this paragraph: Quote:
|
All times are GMT -5. The time now is 02:49 PM. |