LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-01-2005, 03:22 AM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Rep: Reputation: 15
Safe to kill all user: 'nobody' processes?


Is it safe to kill all processes which have the user: "nobody"? I set up a firewall but it doesn't seem to stop them. Is it online_update which starts these processes or is it some trojan horse/virus? I could write a program which kills all nobody-processes every other minute and sleeps the rest of the time. The processes are using up all CPU capacity.
 
Old 11-01-2005, 03:50 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
The "nobody" user may be the result of a process downgrading its permissions. I don't think that blindly killing processes is a good idea. Looking at firewall log entries and hunting for rootkits may be a better idea.
 
Old 11-01-2005, 08:06 AM   #3
lagu2653
Member
 
Registered: Jun 2005
Distribution: Mint 12 "Lisa"
Posts: 103

Original Poster
Rep: Reputation: 15
What if cron would run updateDB when recording?

I plan to install MythTV. What if cron were to run some updateDB-script when I was recording TV? All CPU power is occupied. Sometimes the mouse-cursor won't even move and it goes on for hours.
 
Old 11-01-2005, 09:53 AM   #4
TruckStuff
Member
 
Registered: Apr 2002
Posts: 498

Rep: Reputation: 30
Cron jobs will always run as the user whos crontab they are in, or root if they are in /etc/cron.daily, etc. If you are concerned about them eating CPU cycles, prefix the commands with nice, which basically assigns the process the lowest possible priority. See man nice for details.

FWIW, there are many processes that run as "nobody." Apache is probably the most common one. Under a default 2.0.x install, all Apache processes run as user nobody, group nobody. Its nothing to worry about from a security perspective.
 
Old 11-06-2005, 07:28 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
The updatedb script updates the locate database - ie. the list of all files on your computer - so that you can use the locate command to quickly find files. You can safely disable this feature (you probably don't use it if you didn't know what it is) and you can still use the find command or the find files dialog in Konqueror (or nautlius if you use GNOME) to find files still. Its a very good idea to disable things like this if you're setting up a MythTV box.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gaim ate memory, couldn't kill processes. Oxagast Linux - Software 1 09-06-2005 04:55 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 07:35 PM
How can I kill all processes form a certain user ? Menestrel Linux - Newbie 6 07-05-2005 10:53 AM
shell script to kill all processes on specified port varunbihani Linux - General 1 04-19-2005 06:39 AM
HP-UX failing to kill some processes itumeleng Other *NIX 1 01-21-2005 09:14 PM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
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