1. Ubuntu generally does not recommend using root to log on directly to the graphic interface. In the case of normal user logon, when the root permission is required, users must be switched under the terminal command line. Normal users can only have read/write and execute permissions under the directory of their usernames. 2. There are two methods to switch: 1) completely su, enter the password, and convert it to the root role; 2) or each time you need to use the root permission, add the sudo prefix before the command line
1. Ubuntu generally does not recommend using root to log on directly to the graphic interface. In the case of normal user logon, when the root permission is required, users must be switched under the terminal command line. Normal users can only have read/write and execute permissions under the directory of their usernames.
2. There are two methods for switching:
1) more thorough
Su then enter the password and convert it to the root role;
2) or add the sudo prefix before the command line each time the root permission is required.
Then, the system prompts you to enter the root password and run the command with the root permission.
In summary, Ubuntu cannot completely modify or edit unexpected files in the username directory on the GUI as root.
In the graphical interface, you can only modify the files in the user name directory. To modify unexpected files in the directory, You need to convert them to the root identity, in addition, it is generally changed to the root identity in the terminal and modified.