chattr +i /*本命令执行后可以阻止root用户的rm命令。chattr -i /*本命令执行后可以撤销root用户对其操作的保护。ps:普通用户用该命令无法阻止root用户的rm命令。
共有 6 条评论,登录后可见