LF201 - Lab 1.1 - sudoers
I'm beginning the course right now.
Sorry for the naivete of my questions.
I just read the paper Lab 1.1.
On my Debian 10, in order to add the user to sudoers group, I just used to type the command:
´usermod -aG sudo myUser`
This works because in Debian10 there is already a 'sudo' group in /etc/group.
Which approach is better?
the ´/ect/sudoers.d/myUSer` approach either the 'add to group' approach?
Thank you in advance for your answers.