Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to login as root on new install on beige g3 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sun Feb 17, 2008 7:48 pm    Post subject: Unable to login as root on new install on beige g3 [solved] Reply with quote

Hi,

I'm pretty new to linux and after a little googling found a lot of good responses about Gentoo. So, I've completed a stage3 install using the Gentoo 2007 Live CD and upon rebooting I am greeted by the following:

This is g3mac.unknown_domain (Linux ppc 2.6.19-gentoo-r5)

g3mac login:

At this point I am not able to login as root using "root" and the password I supplied during setup.
I am however able to login as "jeremiah" (the every day user account I created). I have tried to login as "jeremiah" and use "su" to login as root but I get the same results.

I would like to continue with the installation of Gnome so I have a nice gui that others have raved about and hopefully turn this older machine into a useful piece of equipment again.

Can anyone help me with this? I am running Gentoo on an old beige G3 @ 350mhz, 320MB RAM, a 20GB hard drive that has 9.7GB reserved for the root partition, 512MB for linux swap, and 9.7 GB for MacOS 9 (HFS partition, I boot using BootX)

thanks in advance


Last edited by jeremusic on Mon Feb 18, 2008 12:18 am; 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: Sun Feb 17, 2008 7:59 pm    Post subject: Reply with quote

Have you tried to set a new password for root after su'ing?

emerge gnome will install gnome. It'll take long, since everything will be build from source and gnome is made up of a lot of packages.
_________________
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
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sun Feb 17, 2008 8:30 pm    Post subject: Reply with quote

As far as I can tell I can enter the su command and it asks for Password: I enter the password I used for root during the installation and it says Sorry! I don't see how I could have a type in the password because it asks you to enter it a second time during installation. I am wondering, if I create another user and make the user a member of the Portage group would that at least let me be able to emerge gnome and get to a gui?
Back to top
View user's profile Send private message
your_WooDness
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2007
Posts: 77

PostPosted: Sun Feb 17, 2008 9:17 pm    Post subject: Reply with quote

Hi,

I have seen a workaround for a forgotten password in this forum in which this problem was solved by booting a live CD, then login as root and chroot into the installation. Then you should be able to make a passwd and change the password.
If this won't work, you can also just boot from a live CD, mount the root partition of the local installed OS and open the /etc/shadow file with an editor.
Search the line that begins with root.

Code:
root:$1$p4FIh0z6$l4KGOy4HwxtTxfaVqDWEn.:13924:0:::::7482592


Then just remove the part between the first two ":" which is the password for the user. Afterwards it should look like this:

Code:
root::13924:0:::::7482592


Then save the file and reboot. The password of root now is not set and you should be able to login with root.

WooD


Last edited by your_WooDness on Sun Feb 17, 2008 10:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sun Feb 17, 2008 9:54 pm    Post subject: still not working Reply with quote

i booted the livecd, mounted my root partition (in this case /dev/hda9) and followed the instructions removing all the text between the first and second : and i have the same results: login incorrect
Back to top
View user's profile Send private message
your_WooDness
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2007
Posts: 77

PostPosted: Sun Feb 17, 2008 10:02 pm    Post subject: Reply with quote

Hi,

I just have seen that I have posted
Code:
test::13924:0:::::7482592
***had posted a wrong user name: test before and have corrected it in the post above***

I hope you haven't renamed root to test which would be wrong.

Or have you tried with passwd?

WooD


Last edited by your_WooDness on Sun Feb 17, 2008 10:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sun Feb 17, 2008 10:06 pm    Post subject: reply Reply with quote

I tried with passwd initially and the same results. Also, I did NOT rename root to test as I figured that was probably just for the sake of letting me know that is what the line should look like.
Back to top
View user's profile Send private message
your_WooDness
Tux's lil' helper
Tux's lil' helper


Joined: 25 Oct 2007
Posts: 77

PostPosted: Sun Feb 17, 2008 10:24 pm    Post subject: Reply with quote

hm....the thing with the shadow file worked fine for me in the past. I think I ran out of ideas now...?

WooD
Back to top
View user's profile Send private message
jeremusic
n00b
n00b


Joined: 17 Feb 2008
Posts: 15
Location: Pittsburgh, Pa

PostPosted: Sun Feb 17, 2008 11:09 pm    Post subject: Fixed it !!!! Reply with quote

I tried booting livecd again and used passwd to change the root password. I am now able to log in as root and make changes, etc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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