摘要: 一台服务器被黑,很多系统命令被修改,并且命令文件即使使用root账号也无法删除:# rm -f /usr/bin/toprm: cannot remove `/usr/bin/top': Operation not permitted网上查了一下原来是文件属性被修改了,重置文件属性后删除成功。# 查看文件属性# lsattr /usr/bin/top s----a------- /usr/bin/top# 取消被设置的属性# chattr -s /usr/bin/top# chattr -a /usr/bin/top# 删除文件成功# rm -f /usr/bin/top详细的文件属性 阅读全文
posted @ 2012-12-17 14:06 edwardlost 阅读(5657) 评论(0) 推荐(0) 编辑