Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.