Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-21-2004, 04:31 PM
|
#1
|
LQ Newbie
Registered: Nov 2004
Posts: 13
Rep:
|
Kill a user off line
Phiber Optik's again i have some "unwanted" users on my computer tyring to get into my root account... now what means would i go about to kill or kick this user offline... please help ASAP!!!!
|
|
|
11-21-2004, 04:36 PM
|
#2
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
killing a user offline sounds rather illegal.
|
|
|
11-21-2004, 04:37 PM
|
#3
|
LQ Newbie
Registered: Nov 2004
Posts: 13
Original Poster
Rep:
|
um.... not in that sence... i own the linux box.... i dont know who this person is whom that is logged in.... how do i kick them off my linux box without restarting or pulling the internet plug???
|
|
|
11-21-2004, 04:42 PM
|
#4
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
if you know their IP-nr.'s ( might be in /var/log/messages ) you can put those in " /etc/hosts.deny. "
egag
|
|
|
11-21-2004, 04:46 PM
|
#5
|
LQ Newbie
Registered: Nov 2004
Posts: 13
Original Poster
Rep:
|
hm.... i see.... i like your idea but unfortunently he has multiple computers and is currently at friends houses with a BUNCH of hackers... he says that he is at home on SSH but i dont know if i can believe him just yet.... regardles thanks a lot man... and if you have AIM, or GAIM IM me paintballMC117
|
|
|
11-21-2004, 05:29 PM
|
#6
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
Why not kill sshd?
|
|
|
11-21-2004, 06:13 PM
|
#7
|
Member
Registered: Oct 2004
Posts: 229
Rep:
|
Just kick them out. You are using slackware and you aren't rigged up...
1- Log in as root.
su
2- Kick everyone out. This kill all processes not owned by root,daemon, nobody and gdm
pkill -v -u root,daemon,nobody,gdm
3- Keep them out.
iptables -P INPUT DROP
iptables -P INPUT FORWARD DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Put these iptable rules in your firewall and they can't touch you.
Now you have to rebuild the kernel and start the cleaning process. Newer know if a backdoor is installed.
Then it's time for pay back. ;-)
|
|
|
11-21-2004, 06:15 PM
|
#8
|
Member
Registered: Oct 2004
Posts: 229
Rep:
|
Oh if it is only 1 user
pkill -u user and all his processes die.
|
|
|
11-21-2004, 06:36 PM
|
#9
|
Member
Registered: Oct 2004
Posts: 229
Rep:
|
Oh and change your passwords for the affected user accounts.
Just wanted to remind that you have their IPs from the logs.
So...
There are 3 choices
- complain to someone, police(delete your warez first)
- retaliation (don't expect help with it here)
- learn more about how to defend your self
|
|
|
11-24-2004, 06:29 PM
|
#10
|
LQ Newbie
Registered: Nov 2004
Posts: 13
Original Poster
Rep:
|
hey Krugger you RULE please if you have AIM im me at paintballMC117 thanks!!!!
|
|
|
11-24-2004, 07:10 PM
|
#11
|
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,273
Rep:
|
If you're really phiberoptik shouldn't you already know all of this ;-)
|
|
|
All times are GMT -5. The time now is 03:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|