"Brian L. Jilek" wrote:
How would one kill a login on a machine? If for example I connected remotely and wanted to kill a open login on the machine I logged into.
Just kill whatever shell they're logging in using. For example, I'm logged into one of my computers (called devena) via telnet. I'm using the bash shell, so using the following (cut) output from 'ps aux', I know that I want to kill pid 3685 to shove off that user on ttyp0. So here I go and kill that login, and you can see that it works because I get thrown off the remote computer (yes, I killed myself...). devena:~ # ps aux USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND root 3684 3.2 10.7 1272 704 ? S 23:57 0:00 in.telnetd root 3685 17.0 18.8 1892 1236 p0 S 23:57 0:01 -bash root 3691 0.0 8.1 944 536 p0 R 23:58 0:00 ps aux root 4874 0.0 9.2 1584 604 ? S Apr 23 0:05 /usr/sbin/named devena:~ # kill -9 3685 Connection closed by foreign host. chris@respc-csr2:~ > Hope that helps (if a bit belated), Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/