Answer the question
In order to leave comments, you need to log in
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?
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
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 questionAsk a Question
731 491 924 answers to any question