LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Password recovery (https://www.linuxquestions.org/questions/linux-security-4/password-recovery-29895/)

mikeshn 09-08-2002 09:16 AM

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

unSpawn 09-08-2002 09:50 AM

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.