R
R
romaro2021-10-17 13:05:44
linux
romaro, 2021-10-17 13:05:44

Why is it impossible to give sudo permissions through a group in Oracle Linux?

I uncommented the wheel group and added the nodejs user to it, but when I try to call the sudo command, I still get an error that the user is not in sudoers. I had to register the user in this file. Is working through a group blocked by some security settings?
616bf50bbbe78754699899.jpeg

Checked that the user is in the group:

[[email protected] dship]$ sudo grep 'wheel' /etc/group
wheel:x:10:romaro,nodejs

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
L
lComrade, 2021-10-22
@lComrade

Option 1: My /etc/sudoers file:
%sudo ALL=(ALL:ALL) ALL
And here's what you have:
%whell ALL=(ALL) ALL
Maybe this is the problem.
Option 2: You have not terminated all processes running as this user. Therefore, the group changes simply did not take effect. A reboot should help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question