user is in sudo group but sudo still says not in sudoers
Added a user with usermod -aG sudo alice on Debian 12, and sudo still says alice is not in the sudoers file. This incident will be reported. id alice shows the sudo group. I had her log out and back in. There is a file in /etc/sudoers.d with her name in it, mode 0644, but I'm not sure it's syntactically valid. What should I check?
4 replies