Linux has a robust permissions system. As it enables a clear separation of roles among users, especially between the root user and your average user. Sometimes, though, you might want your average user to have some or all of root’s privileges. You can give this permissions with sudo.
Give Sudo Permission
[root@test ~]# visudo
Note : You can add below lines:
root ALL=(ALL) ALL
username ALL=(ALL) NOPASSWD: ALLNote : If you want to access root permissions without password, you can use NOPASSWD parameter.
Using Sudo
[username@test ~]# sudo su –
[root@test ~]#