LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 06-21-2003, 12:11 AM   #1
im1crazyassmofo
Member
 
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 doesnt....is there a way to kick him off once he is in
 
Old 06-21-2003, 12:46 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 52
kill his shell.
 
Old 06-21-2003, 01:23 AM   #3
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: Debian Wheezy
Posts: 2,839

Rep: Reputation: 48
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, 02:43 PM   #4
IamDaniel
Member
 
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:
Code:
#ps -t ttyX
Kick his ass:
Code:
#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, 09:16 PM   #5
cuckoopint
Member
 
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.
 
  


Reply


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 09:29 PM
Kicking Users coindood Linux - General 2 03-10-2004 09:25 AM
Kicking users question dtugg Linux - Networking 0 02-23-2004 07:41 PM
I would like a virtual a$$ kicking... Whitehat General 11 04-13-2003 01:29 AM
Proftpd kicking users unique3 Linux - Software 0 02-26-2003 11:36 PM


All times are GMT -5. The time now is 02:25 PM.

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