Article 5RXSJ sudo problem

sudo problem

by
centguy
from LinuxQuestions.org on (#5RXSJ)
Just installed a new Debian:

Quote:
Linux debian12-vostro 5.14.0-4-amd64 #1 SMP Debian 5.14.16-1 (2021-11-03) x86_64 GNU/Linux

I do not how to explain this:

Quote:
test@debian12-vostro:~$ groups test
test : test adm sudo
test@debian12-vostro:~$ sudo gparted
[sudo] password for test:
test is not in the sudoers file. This incident will be reported.
The strange this is that I tested with another user accounts but
sudo gparted was OK (even then I have tried all sort of things to make sudo work).

I have issued usermod -aG sudo,adm test

The strange thing is that I have problem with all test users names and the
behaviours are so random. Some are OK but some are not. I guess the sequence of events put a user name in the sudoers list but some not. This is so HARD to tame! I guess the sudo management under Debian is still not 100% correct.
This is wasting a lot of testing time.latest?d=yIl2AUoC8zA latest?i=QvnU3-BQnQg:ASS0XID9NR8:F7zBnMy latest?i=QvnU3-BQnQg:ASS0XID9NR8:V_sGLiP latest?d=qj6IDK7rITs latest?i=QvnU3-BQnQg:ASS0XID9NR8:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments