In Linux based systems, root is the main user of the system and root can execute all commands. From system administration point of view, it is never recommended that you should work as a root user, as any wrong command executed can corrupt your whole configuration. In Ubuntu, the root user is disabled by default for the security reasons, this is where sudo comes in – it allows authorized users to run root commands without having to know the root password. But only those users can run sudo commands or can perform system administration tasks that has the privileges to do so. Lets see how can add any administrator user in Ubuntu.
Go to System > Administration > Users and Groups. This is the dialogue box from where you can add or delete any user and you can also manage the groups settings from here.
Now, select the user you want to assign administrative privileges and click Properties. For the example, I want to assign the administrative privileges to the test user. Account Properties box will be opened, you can set password for this user from here.
Now, click the User Privileges tab and check Administer the system option.
Click OK and thats all, the particular user has been assigned the administrative privileges, now it can carry out administrative tasks. Enjoy!