Password recovery
I installed Red Hat 7.3 on my other box and forget the root password. Do I have to reinstall Linux or there is a way to recover the password? Also How long can be username and password in Red Hat? Any restrictions on password?
Thanks |
Reboot into single/rescue/emergency mode, just enter a root passwd. Length using md5 encryption is set in /etc/login.defs (pass_max_len), and using pam_cracklib.so in /etc/pam.d/{login,system-auth}, also look at /etc/login.access and /etc/security/access.conf for additional restrictions/limitations.
Btw answer to your 1st question is already provided on this board, use search next time please. |
All times are GMT -5. The time now is 09:32 AM. |