Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-20-2003, 11:11 PM   #1
Registered: Jan 2003
Distribution: Slackware 13
Posts: 89

Rep: Reputation: 15
kicking out users

i have one of my buddies always connected to my computer and when i tell him to get off he there a way to kick him off once he is in
Old 06-20-2003, 11:46 PM   #2
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,186

Rep: Reputation: 52
kill his shell.
Old 06-21-2003, 12:23 AM   #3
Senior Member
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
I have used the timeout program with Debian to restrict terminal idle times. It can do a lot more. Perhaps you can find a program of this sort if you just want to restrict his login times.
Killing his shell and deleting his account are other possibilities.
Old 06-21-2003, 01:43 PM   #4
Registered: Mar 2003
Location: Sungai Petani
Distribution: Slackware
Posts: 143

Rep: Reputation: 15
I am not sure, but this might help.

Find your friend's shell pid:
#ps -t ttyX
Kick his ass:
#echo "Get the hell out of mine machine, slave!" | write [your friends login name] [ttyX]
#kill -9 [pid of your friend shell]
Old 06-21-2003, 08:16 PM   #5
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
And take away his power to log in for a couple days by giving him a no-login shell.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kicking Users Verbal Kint Linux - General 6 11-02-2005 08:29 PM
Kicking Users coindood Linux - General 2 03-10-2004 08:25 AM
Kicking users question dtugg Linux - Networking 0 02-23-2004 06:41 PM
I would like a virtual a$$ kicking... Whitehat General 11 04-13-2003 12:29 AM
Proftpd kicking users unique3 Linux - Software 0 02-26-2003 10:36 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration