You are not logged in.
Pages: 1
Ok, maybe I'm totally dumb, help me guys on this.
I want to add myself to sudoers group.
checking...
$ groups
lp wheel games audio optical storage power users
Good old gpasswd will help me:
gpasswd -a me sudoers
gpasswd: group 'sudoers' does not exist in /etc/group
And yes, there is no such group in /etc/group.
1. How to add a sudoers group?
2. Why there is no such a group in /etc/ ?
ps. I really should have read mans on sudo and group policy, or should I say reread them.
But there is nothing better, than a helpful advice:)
Last edited by tasty_minerals (2012-01-15 22:22:34)
lenovo thinkpad EDGE 13'
Offline
You should add yourself to wheel group. And uncomment corresponding line in /etc/sudoers.
Offline
Offline
I think "sudoers" is Ubuntu's version of "wheel". You're already a member of wheel, so you shouldn't need to be in "sudoers" as well.
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.
Offline
thaaaankS!
lenovo thinkpad EDGE 13'
Offline
has the same problem with new installation, confirmed that uncommenting the line
%wheel ALL=(ALL) ALL
in:
/etc/sudoers
solved the problem. Thanks!
Offline
Pages: 1