User kicken

Post Reply
Message
Author
Martin

User kicken

#1 Post by Martin »

Hallo,

ich habe ein Problem:

[root@linux root]# who
root tty1 Nov 13 18:21
root pts/2 Nov 14 22:13 (admin)
root pts/5 Nov 10 18:14 (admin:S.0)

es sind also 3 User angemeldet, wie kann ich jetzt die User rauskicken? (admin:S.0) ist irgendso eine Leiche, die muss ja da nicht stehen <img src="http://www.pl-forum.de/UltraBoard/Images/Happy.gif" border="0" align="middle">

Gruß Martin

Chris

Re: User kicken

#2 Post by Chris »

Hi!

Am einfachsten ist es, wenn du den idled installierst. Dann werden inaktive User automatisch gekickt.

jetzt machst du am besten folgendes (die Ausgaben sind bei dir anders!):

<blockquote><pre><font size="1" face="">code:</font><hr><font face="Courier New" size="2">
[root@linux root]# ps -eaf|grep "pts/5"
root 1016 874 0 20:08 pts/5 00:00:00 -bash
root 29523 29480 0 21:29 pts/0 00:00:00 grep pts/1
[root@linux root]# kill 1016
</font><hr></pre></blockquote>

Gruß
Chris

Post Reply