The officially official Devuan Forum!

You are not logged in.

#1 2021-06-18 16:37:29

joachin
Member
Registered: 2021-06-18
Posts: 7  

[SOLVED] need help to add mi user to sudoers.

Hello, I have some troubles trying to add my user to the sudoers group, every time that I try to do so, I receive the following message: "gpasswd: group 'wheel' does not exist in /etc/group". Additionally, could you please help me since the key to mute/unmute the microphone is not working on XFCE, do you know the command to add the shortcut?

Thank you.

Offline

#2 2021-06-18 16:45:59

dice
Member
Registered: 2020-11-22
Posts: 559  
Website

Re: [SOLVED] need help to add mi user to sudoers.

you need to add it the sudo group.

# gpasswd -a joachin sudo

Offline

#3 2021-06-18 16:52:34

joachin
Member
Registered: 2021-06-18
Posts: 7  

Re: [SOLVED] need help to add mi user to sudoers.

I have already done so, and also edited the sudoers file, reboot and every time that I want to use the command, i receive the following message:

sudo apt update
[sudo] password for joachin:

joachin is not in the sudoers file.  This incident will be reported.

Offline

#4 2021-06-18 16:54:32

golinux
Administrator
Registered: 2016-11-25
Posts: 3,137  

Re: [SOLVED] need help to add mi user to sudoers.

I suggest you start a new thread for you audio issue.

Offline

#5 2021-06-18 17:06:30

joachin
Member
Registered: 2021-06-18
Posts: 7  

Re: [SOLVED] need help to add mi user to sudoers.

Sure, I will open a new ticket for the audio issue. Thank you.

Offline

#6 2021-06-18 17:52:14

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] need help to add mi user to sudoers.

Can we see the output of these commands from your normal user:

sudo -l
groups

Brianna Ghey — Rest In Power

Offline

#7 2021-06-18 19:47:54

joachin
Member
Registered: 2021-06-18
Posts: 7  

Re: [SOLVED] need help to add mi user to sudoers.

Hello there, this is the output of these commands:

sudo -l
[sudo] password for joachin: 
Sorry, user joachin may not run sudo on joachinlaptop.

the second one:

groups
joachin cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner

Offline

#8 2021-06-18 20:40:18

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] need help to add mi user to sudoers.

How about

getent group sudo

Please also share the full content of /etc/sudoers and any files under /etc/sudoers.d/.


Brianna Ghey — Rest In Power

Offline

#9 2021-06-18 21:29:50

joachin
Member
Registered: 2021-06-18
Posts: 7  

Re: [SOLVED] need help to add mi user to sudoers.

Hello there, I don't know what happened, but now all it's working as expected. I really appreciate your help.

Offline

Board footer