There are two user like "root" and a "normal" user In my Ubuntu . Now I wanna to give permanent root permission to the "normal" user without losing any data . I actually work with "normal" user for a long time . And then I wanna to move "normal" user to "root" user.
But the problem is that when I log in with "root" user then all the previous data such as application+browser cache + etc are missing .That's why I wanna to give permanent root permission to the "normal" user . How can I do that?
12 Answers
The normal way to make a user an administrator on an Ubuntu system is to add them to the sudo group so they can use sudo to execute things as root when needed.
# usermod -a -G sudo normalThat adds the user normal to the sudo group. After that user logs in again they should be able to use sudo.
add string username ALL=(ALL:ALL) ALL to file /etc/sudoers where username is login of "normal" user or add user to "sudo" group as mentioned above