Kicking remote users
Code:
[root@localhost ~]# who |
You could use ps or lsof to determine their PIDs and use kill to terminate their terminals.
man kill man ps man lsof kill -l |
or you can
Code:
ps aux | grep ssh And if you want to keep a specific user out, as root you can run Code:
passwd -l [username] Code:
passwd -u [username] Ian |
All times are GMT -5. The time now is 12:01 AM. |