View previous topic :: View next topic |
Author |
Message |
Sophrosyne n00b
Joined: 09 Apr 2024 Posts: 1
|
Posted: Mon Apr 29, 2024 6:18 am Post subject: su to root problem |
|
|
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 |
|
|
rfx Tux's lil' helper
Joined: 19 Apr 2023 Posts: 132 Location: de-by
|
Posted: Mon Apr 29, 2024 6:25 am Post subject: |
|
|
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 |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54450 Location: 56N 3W
|
Posted: Mon Apr 29, 2024 9:47 am Post subject: |
|
|
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 |
|
|
|