In Ubuntu system operation, we often use the system permissions, because of insufficient permissions, resulting in some operations very troublesome. To get permission, the longest way to use is to use the sudo instruction, but it is more troublesome to use it back and forth, does it directly elevate our user rights? The answer is--yes.
Open HyperTerminal, input instruction sudo gedit/etc/passwd, enter;
Find the line where our user name is located, and modify the ID value of the current user inside. For example, my current user is crystal.
Then find the Crystal:x:1000:1000:crystal:/home/linuxidc:/bin/bash to change two 1000 to 0.
Finally, the Ubuntu system to log off, and then in the login username and enter your own user name and password, so landing is the root authority. This is because root has an ID value of 0.
After re-login, open HyperTerminal and discover that our user rights are already rooted.
How to elevate a normal user to root under Ubuntu