It's important to use Ubuntu permission settings

Source: Internet
Author: User
Keywords Ubuntu

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

have been using Ubuntu recently, a few days ago due to accidentally executed

sudo chown-hr root:root/

Causes the system to not update

and unable to use the Sudu command, almost completely paralyzed. Because the server has been a remote operation, it cannot operate directly or enter Repair mode

So I looked everywhere for information. The result is nothing, only to the computer room for operation.

In repair mode, modify the properties of the/etc/to 641, and then start,

Still can't use sudo

Hint Sudoer permissions are problematic

Go back to repair mode, fix sudo mode

After entering the system, we found that MySQL was not connected, so I continued to fix the properties of the prompt file.

These 2 times are good. But the system is still wrong, PHP error.

It seems that the operation requires absolute caution

Decide to back up the data and reinstall it on the day.

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.