Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] how to become root?
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
dpaddy
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2008
Posts: 117

PostPosted: Sun Apr 09, 2017 9:08 pm    Post subject: [SOLVED] how to become root? Reply with quote

I used a live cd to repair an old gentoo install, and after chroot I set the root password via passwd.
The repair succeeded (new kernel and initramfs work fine), but now I can't login as root.
I can login as dpaddy, but cannot su.
Code:
cat /etc/group | grep wheel

What does it take to fix this? How can I become root without the live cd?

Sorry to be such a noob. 8O


Last edited by dpaddy on Mon Apr 10, 2017 1:47 pm; edited 2 times in total
Back to top
View user's profile Send private message
dpaddy
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2008
Posts: 117

PostPosted: Sun Apr 09, 2017 9:15 pm    Post subject: oops, didn't see the sticky Reply with quote

Sorry, I didn't see the sticky about this issue...

I'll read everything there and try all the suggestions... ignore me for now.
Back to top
View user's profile Send private message
dpaddy
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2008
Posts: 117

PostPosted: Mon Apr 10, 2017 1:46 pm    Post subject: Reply with quote

My "repair" of the old install broke stuff (su, emerge, gcc, python, ...) so horribly that I opted for a fresh install :oops:

Anyhow, that fixed it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Mon Apr 10, 2017 1:48 pm    Post subject: Reply with quote

dpaddy,

You missed a valuable learning experience.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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