Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
First boot after first build, Failed Login (Success!)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
msummers80
n00b
n00b


Joined: 11 Oct 2004
Posts: 43

PostPosted: Sat Jan 29, 2005 6:30 pm    Post subject: First boot after first build, Failed Login (Success!) Reply with quote

Thanks Nixnut!
Ok, I'm not sure If I set up my login information correctly when doing the install. Anyways, I tried root with a blank password, a password I use often, and nothing seems to be working. is there a default login name and password I can try?

SummersTux Login: root
password:

Login(pam_unix)[1150]: authentication failure; logname=LOGIN uid=0 euid=0 tty=/d ev/tty1 ruser= rhost= user=root
Login[1150]: FAILED LOGIN 1 FROM /dev/tty1 FOR root, Authentication failure Login incorrect


Last edited by msummers80 on Sat Jan 29, 2005 7:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jan 29, 2005 6:37 pm    Post subject: Re: First boot after first build, Failed Login Reply with quote

msummers80 wrote:
Ok, I'm not sure If I set up my login information correctly when doing the install. Anyways, I tried root with a blank password, a password I use often, and nothing seems to be working. is there a default login name and password I can try?

Don't be silly, this isn't windows.
You probably forgot something while configuring. Well, no problem, boot the livecd, mount your root partition on /mnt, edit /mnt/etc/shadow and clear out the password (the string between the ":" delimiters after "root:" . Then after rebooting the sytem you should be able to log in as root without password. Make sure you then set a password again for the root account!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
msummers80
n00b
n00b


Joined: 11 Oct 2004
Posts: 43

PostPosted: Sat Jan 29, 2005 7:48 pm    Post subject: Reply with quote

I am taking your advice to stop being stilly. I am now cool. 8)
I found the shadow file, and the root entry is:

root:*:10770:0:::::

So I'm not exactly sure, but are you saying to edit it to:

root::10770:0:::::

or:

root:*::0:::::

or something else altogether?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jan 29, 2005 7:50 pm    Post subject: Reply with quote

msummers80 wrote:
I am taking your advice to stop being stilly. I am now cool. 8)
I found the shadow file, and the root entry is:

root:*:10770:0:::::

So I'm not exactly sure, but are you saying to edit it to:

root::10770:0:::::

or:

root:*::0:::::

or something else altogether?

Change it to root::10770:0:::::. The "*" means that that account can't be used to login at all. Which is probably not what you want for root.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
elde
n00b
n00b


Joined: 22 Jul 2005
Posts: 17

PostPosted: Tue Aug 16, 2005 7:07 pm    Post subject: Reply with quote

how do you mount root to /mnt?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Aug 16, 2005 7:11 pm    Post subject: Reply with quote

elde wrote:
how do you mount root to /mnt?

If your root partition is /dev/hda2 then you mount it on /mnt with mount /dev/hda2 /mnt
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum