You are not logged in.

#1 2012-01-15 21:56:36

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

[SOLVED] Help me to add to 'sudoers' group

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

#2 2012-01-15 21:58:27

Evgeniuz
Member
Registered: 2012-01-15
Posts: 7

Re: [SOLVED] Help me to add to 'sudoers' group

You should add yourself to wheel group. And uncomment corresponding line in /etc/sudoers.

Offline

#3 2012-01-15 21:58:57

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Help me to add to 'sudoers' group


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2012-01-15 21:59:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,322
Website

Re: [SOLVED] Help me to add to 'sudoers' group

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.

https://wiki.archlinux.org/index.php/Sudo


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

#5 2012-01-15 22:22:59

tasty_minerals
Member
Registered: 2011-03-30
Posts: 191

Re: [SOLVED] Help me to add to 'sudoers' group

thaaaankS!


lenovo thinkpad EDGE 13'

Offline

#6 2014-01-12 01:18:44

ipstone
Member
Registered: 2014-01-12
Posts: 2

Re: [SOLVED] Help me to add to 'sudoers' group

has the same problem with new installation, confirmed that uncommenting the line   

  %wheel ALL=(ALL) ALL

in:
    /etc/sudoers

solved the problem.  Thanks!

Offline

Board footer

Powered by FluxBB