Results 1 to 2 of 2
I've been googling a bit, and I'm new to the server thing (at least in *n?x) but I'm not sure about how to log another user off. I am allowing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-09-2005 #1
Logging other users off
users doesn't help, can find any logoff or disconnect command. Any help appreciated as always
- 10-09-2005 #2
So this is a case where you want to kick off just one user, right?
An example with ssh you can use is:
ps -e | grep ssh | grep user_name_hereCode:
Now if you want to keep him off, that's a different story. That may consist of:
* Locking his account altogether.
* Blocking his IP.
* Blocking his user name from using the sshd service.