Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Why can't linux files be modified by root

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Today, the editor shares with you why linux files can not be modified by root, I believe many people do not understand, in order to let you understand better, so to sum up the following content, let's look down together. I'm sure you'll get something.

First run the following command to see if the sia attribute has been added to the file:

Lsattr / var/spool/cron/root

The results are as follows:

SmurmurMuiya-/ var/spool/cron/root

Online learning video recommendation: linux video tutorial

Then delete the sia attribute using the following command

Chattr-isa / var/spool/cron/root

When you are finished, you can modify the file.

These are the details of why the linux file can not be modified by root, and do you have anything to gain after reading it? If you want to know more about it, welcome to the industry information!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report