Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-26-2012, 08:30 AM   #1
Registered: Oct 2011
Posts: 164

Rep: Reputation: Disabled
How to stop fork_bomb script run by user without using killall command

Hi All,

Today i attended one of any interveiw ,One of the interveiwer asked regarding how to stop fork_bomb script run by user without using

killall -9 scriptname

can anyone help me how to stop a script running by a user without using a killall command.

2 question. once of the important server has been hacked by user and u found they had exe the following command

find / -type f -exec chattr +ia {} \;

How do u recover the server .
3. how to get the performance report of the server of jan 2012 of particular time betwwen 3.00 -5.00 pm without using any sort of external tool like nagios,opennnms

Thanks in advance if any anyone help to get the answer for the above three question .
Old 05-26-2012, 09:43 AM   #2
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
I'd use pkill(1). It provides an option to kill processes for a UID.

For question #2, they may be expecting you to simply remove the immutable and append-only attributes. (But, honestly, I'd plan an outage - when possible - and do a complete system restore(8) instead. After determining how some malcontent got root access to begin with.)

For question #3, take your pick. The sysstat package is fairly popular.

Last edited by anomie; 05-26-2012 at 09:44 AM.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] run ps|grep command by script/command line ... ERROR: Unsupported option (BSD syntax) masuch Programming 4 05-23-2012 04:13 AM
[SOLVED] sh: killall: command not found ted_chou12 Linux - Software 5 11-17-2011 10:06 PM
how to run linux command from a different user from a jsp page which is run by tomcat etika Linux - Newbie 2 04-27-2011 11:53 AM
Whats the command that allow you to run a script as another user? ziggie216 Linux - Software 3 11-10-2005 03:05 AM
how do I make sure that the user that is going to run the script is a root user??? nikold01 Linux - General 3 09-10-2004 07:54 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:19 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
Open Source Consulting | Domain Registration