Glam Prestige Journal

Bright entertainment trends with youth appeal.

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?

1

2 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 normal

That 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy