用chattr命令防止系统中某个关键文件被修改

用chattr命令防止系统中某个关键文件被修改:
# chattr +i /etc/resolv.conf

原文地址:https://www.cnblogs.com/handongyu/p/11772846.html