Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
su to root problem
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
Sophrosyne
n00b
n00b


Joined: 09 Apr 2024
Posts: 1

PostPosted: Mon Apr 29, 2024 6:18 am    Post subject: su to root problem Reply with quote

My install was going fine. I has just chrooted and was working on flags when I decided to add my user I su to my user to make sure all was well. My user was in the wheel group and I know the first thing I did was add my root passwd for my install. In most of the posts I read it said use sudo su which doesn't work. I don't want to start over. suggestions please.
Back to top
View user's profile Send private message
rfx
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2023
Posts: 130
Location: de-by

PostPosted: Mon Apr 29, 2024 6:25 am    Post subject: Reply with quote

Did you emerge "app-admin/sudo" and edit the file "/etc/sudoers" ?
The last few lines, uncomment (-#) "%wheel ALL=(ALL:ALL) ALL"
you need this to allow user in "wheel-group" to use sudo
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Apr 29, 2024 9:47 am    Post subject: Reply with quote

Sophrosyne,

Welcome to Gentoo.

After you log in as root and su to <normal_user>, type exit to go back to being root.
_________________
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