LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02:22 AM   #1
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

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, 02:50 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 07:06 AM   #3
lagu2653
Member
 
Registered: Jun 2005
Distribution: Lubuntu 16.04 LTS
Posts: 104

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, 08: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, 06:28 PM   #5
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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



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 03:55 PM
how to use kill to kill a batch of processes with same name? dr_zayus69 Linux - Software 2 09-03-2005 06:35 PM
How can I kill all processes form a certain user ? Menestrel Linux - Newbie 6 07-05-2005 09:53 AM
shell script to kill all processes on specified port varunbihani Linux - General 1 04-19-2005 05:39 AM
HP-UX failing to kill some processes itumeleng Other *NIX 1 01-21-2005 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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