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:
use
visudo
to edit/etc/sudoers
file →add the user to the sudo group →
create a new
admin
group, 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?