Hi Christiano! On Sat, 06 May 2000, Christiano Anderson wrote:
Just kill the user pid.. For example:
root@pikachu:~ > w 9:33pm up 7:36, 2 users, load average: 0.40, 0.09, 0.03 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT anderson tty1 - 1:57pm 7:35m 48.61s 0.03s startx anderson pts/2 netuno.anderson. 9:29pm 19.00s 0.12s 0.05s -bash
To kill the user logged on pts/2, who is logged as anderson:
root@pikachu:~> ps -ax | grep pts
The result:
1435 pts/2 S 0:00 login -- anderson
So, just type kill -9 1435
root@crow:/home/bljilek > w
4:09am up 19 min, 4 users, load average: 0.00, 0.03, 0.06
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
mjilek tty1 - 4:01am 8:32 0.10s 0.07s -bash
bljilek :0 console 3:51am ? 0.00s ? -
bljilek pts/0 :0.0 3:52am 48.00s 0.71s 0.44s mutt
bljilek pts/1 :0 3:59am 0.00s 0.18s 0.04s w
root@crow:/home/bljilek > ps -ax | grep pts
759 pts/0 S 0:00 mutt
1030 pts/1 S 0:00 -bash
1092 pts/0 S 0:00 vi /tmp/mutt-crow-759-21
1120 pts/1 S 0:00 su
1121 pts/1 S 0:00 bash
1123 pts/1 R 0:00 ps -ax
1124 pts/1 S 0:00 grep pts
I'm missing something. w tells you who is logged on what terminal? But it's
showing mjilek tty1 and bljilek pts/0 & pts/1. What PID should I kill to be
rid of mjilek?
Would it be the -bash that I'm looking for on 1030?
Why does it give a tty1 for mjilek and pts's for bljilek?
If there is a good place to read up on this kind of stuff where would that
be? So I don't bug you all on this little stuff.
Thanks for the help.
--
B. L. Jilek