Centos剔除在线用户

CentOS踢除已登录用户的方法:

  1.>先按下w查看用户终端号

  2.>执行pkill -kill -t pts/1 (pts/1为w指令看到的用户终端号)命令

原文地址:https://www.cnblogs.com/huaibin/p/12097967.html