LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2003, 11:11 PM   #1
im1crazyassmofo
Member
 
Registered: Jan 2003
Distribution: Slackware/Debian
Posts: 91

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-20-2003, 11:46 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

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

Rep: Reputation: 103Reputation: 103
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
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, 08: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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:11 AM.

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
Open Source Consulting | Domain Registration