Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
login problems
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
freseman
n00b
n00b


Joined: 12 Oct 2004
Posts: 23

PostPosted: Fri Oct 15, 2004 10:57 pm    Post subject: login problems Reply with quote

Ok so i'm done installing and i'm trying to login using root. I've set the password for root to something... and i used that password and when i try to log in with root and that password i get a

Code:
login[1105]: FAILED LOGIN 1 FROM /dev/vc/1 FOR root, Authentication failure
Login Incorrect



thanks for your help :)


btw... i'm logging under tux login because i named the computer tux... if that helps at all
Back to top
View user's profile Send private message
bunsen
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2003
Posts: 105

PostPosted: Sat Oct 16, 2004 2:26 am    Post subject: Reply with quote

It's probably configurable that root login on the console is not permitted, but I don't think that's the default behaviour for a gentoo installation.

Can you switch user to root, as a normal user
i.e.

Code:
$ /bin/su -


I'm assuming that normal user (tux?) was already added to the wheel group.
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Sat Oct 16, 2004 2:27 am    Post subject: Reply with quote

did you set password on root before or after the chrooting step in the installation process ?
Back to top
View user's profile Send private message
freseman
n00b
n00b


Joined: 12 Oct 2004
Posts: 23

PostPosted: Sat Oct 16, 2004 3:42 am    Post subject: Reply with quote

i did it before chroot
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Sat Oct 16, 2004 6:59 am    Post subject: Reply with quote

then you have set the live cd's root passwd...


boot up with the live cd again then re-chroot to your installation and then passwd your root account :

    # mount /dev/hda3 /mnt/gentoo ( change /dev/hda3 to root partition if needed )
    # mount /dev/hda1 /mnt/gentoo/boot ( change /dev/hda1 to boot partition if needed )
    # mount -t proc none /mnt/gentoo/proc
    # chroot /mnt/gentoo /bin/bash
    # env-update
    # source /etc/profile
    # passwd
    # exit
    # cd /
    # umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
    # reboot


and that should do it =P
Back to top
View user's profile Send private message
freseman
n00b
n00b


Joined: 12 Oct 2004
Posts: 23

PostPosted: Sat Oct 16, 2004 3:14 pm    Post subject: Reply with quote

ahhhh thank you so much... they should tell you that in the install docs :)
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Sat Oct 16, 2004 3:21 pm    Post subject: Reply with quote

I dont really think that the install docs are meant as a troubleshooting guide. If you follow the docs to the "t" everything works. In this situation you made the mistake, not faulty documentation. :)
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
fennec
l33t
l33t


Joined: 30 Aug 2003
Posts: 613
Location: Montreal

PostPosted: Sun Oct 17, 2004 3:06 am    Post subject: Reply with quote

freseman wrote:
ahhhh thank you so much... they should tell you that in the install docs :)


it actually tells you to passwd after chroot and before reboot =P
Back to top
View user's profile Send private message
lamaral
n00b
n00b


Joined: 17 Oct 2004
Posts: 1
Location: Brasil

PostPosted: Sun Oct 17, 2004 2:56 pm    Post subject: Reply with quote

I sugest to put this in a trouble shooting documentation.
_________________
Luis Amaral
Integration Specialist
Independent Consultant
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Sun Oct 17, 2004 3:36 pm    Post subject: Reply with quote

fennec wrote:
freseman wrote:
ahhhh thank you so much... they should tell you that in the install docs :)


it actually tells you to passwd after chroot and before reboot =P


Of course, it does. It says "passwd" on the manual (Section 8.c) before you emerge metalog & vixie-cron, & grub!!! Sometimes you just need to read it slowly or more careful... :roll:

taurus
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