Sudo rights to group

When setting up a new Linux system you also need to set up a way to gain root access for you standard user account. This is relatively easy to do following
these simple steps as root:

Edit /etc/sudoers and find the following line and uncommit it by removing the ‘#’ from the second line:

## Uncomment to allow members of group sudo to execute any command
#%sudo ALL=(ALL) ALL

Add the useraccount you wish to grant sudo access to to the sudo group, where user is the user account you want to give sudo access to:

usermod -a -G sudo [user]

When logged in as this user, issue the following command to gain root access using your own password:

[daan@system] sudo su -