Permissions for reading, writing, and executing Ubuntu

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.