You are not logged in.

#1 2024-12-16 19:01:05

TZIKADA
Member
Registered: 2024-11-22
Posts: 19

I left the wheel group by accident [SOLVED]

I used usermod -G something (can't remember what) command and now I'm stuck without root privileges. Is there a way to get myself back into wheel group?

Last edited by TZIKADA (2024-12-17 14:43:19)

Offline

#2 2024-12-16 19:24:46

kermit63
Member
Registered: 2018-07-04
Posts: 370

Re: I left the wheel group by accident [SOLVED]

Option 1:  If you set a password for the root account, you can log in as root and make your regular user part of the wheel group. Just make sure you log into the multi-user target, not the graphical target.
Option 2:  arch-chroot into your installation from a live medium.

You probably need to read up on the gpasswd command:

man gpasswd

Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.

Offline

#3 2024-12-16 19:28:30

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,513
Website

Re: I left the wheel group by accident [SOLVED]

Log in as or switch user to root and add yourself back.

https://wiki.archlinux.org/title/Su


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#4 2024-12-17 14:43:05

TZIKADA
Member
Registered: 2024-11-22
Posts: 19

Re: I left the wheel group by accident [SOLVED]

Thank you.

Offline

Board footer

Powered by FluxBB