View previous topic :: View next topic |
Author |
Message |
roadkillbunny n00b
Joined: 01 May 2004 Posts: 17
|
Posted: Sat May 01, 2004 5:10 pm Post subject: Login Incorrect |
|
|
Hello,
I decided to reinstall gentoo as I quite broken in with enabling the ~86 keyword . I just finished the nasic install (grub, kernel and syslog). The system boots fine, but when I get to the login and type root and the password I specified before, I get Login Incorrect. I tried going back to the Live CD and changing the password again, but still the same problem. I also added a user and can't login with him. I followed the install instructions, and done everyting as I did on my first install. Any help will be appreciated.
Cheers,
Karol Krizka
PS: tty0 is in /etc/securetty |
|
Back to top |
|
|
odessit Apprentice
Joined: 01 Feb 2004 Posts: 180 Location: Current Residency - Server Room - Caution - Frostbite Imminent!
|
Posted: Sat May 01, 2004 5:22 pm Post subject: |
|
|
do you get any messages regardin PAM ? if so try this
boot with live-cd
Code: | # mount /dev/hda??? /mnt/gentoo - whereever your / partition is
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# nano w /etc/make.conf - add pam USE variable, save, exit
# emerge shadow
|
After rebooting this will fix it. (assuming your error message had something to do with PAM) |
|
Back to top |
|
|
roadkillbunny n00b
Joined: 01 May 2004 Posts: 17
|
Posted: Sat May 01, 2004 6:44 pm Post subject: |
|
|
Hmmm, I think I found the problem. I did as you told me to, emerge shadow, and run etc-update. It seems like I used echo "tty/0" > /etc/securetty instead of >. And not having much experience, I thought that a empty securetty was OK. Well, I replced it with etc-update and can loggin. Sorry for bothering and thanks for help. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
|
Back to top |
|
|
|