当前位置: 首页 - 编程技术 - 文章正文

清除Linux登录记录

xiaoqihv
CentOS cat /dev/null > /var/log/wtmpcat /dev/null > /var/log/btmpcat /dev/null > /var/log/lastlogcat /dev/null > /var/log/securehistory -cw Ubuntu cat /dev/null > /var/log/wtmpcat /dev/null > /var/log/btmpcat /dev/null > /var/log/lastlogcat /dev/null > /var/log/auth.loghistory -cw
文章地址:https://wenmayi.cn/post/824.html