This question already has an answer here:
I have just created a new Rackspace cloud server and I need to set it up.
I created a new user with the
adduser command and currently the user is only in a group with the same name. For the sudo privileges what should I do:
add the user to the sudo group →
create a new
admingroup, add it to sudoers, and then add the user to this group →
I can not decide what's the right way to do this. Why should I choose one over other?