How does Linux prevent a key file from being modified? Chattr

zhaozj2021-02-11  209

How to prevent a key file from being modified?

Skill administrator (2000-12-22 18:26) 〖Back〗 〖Forward〗

Under Linux, some configuration files do not allow anyone to modify, in order to prevent erroneous deletion or modification, you can set the file "Immutable": Chattr I FileName For example, Chattr I / ETC / fSTAB If you need to modify the file: Chattr -i / etc / fstab, modify the file later

转载请注明原文地址:https://www.9cbs.com/read-3564.html

New Post(0)