This question already has an answer here:
I started to receive a message
dims is not in the sudoers file. This incident will be reported.
How could this happen?
The suspicious command I made was creating group "advanced" and adding myself to it.
addgroup advanced usermod -G advanced dims
Could this break my sudo rights?