命令记录

在全局变量里加入该代码,登录时间ip,操作命令都会被记录,source /etc/profile(. /etc/profile)全局生效

pkill -9 -t tty1,不让该用户登录

 

posted @ 2019-01-16 13:06  木子巫  阅读(131)  评论(0编辑  收藏  举报