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.
I'm trying to figure out which accounts are safe to delete. Is there a list posted somewhere about what each does? Some of them have descriptions, but most of them do not. My system is RedHat 9.0.
Why would you want to delete the system acounts? Usually, removing the daemon will also remove the user that was created for that daemon (i.e., if you remove sendmail then any user created during installation of sendmail will also be removed). At least, AFAIK. So if you have daemons that you don't use then just remove the daemon and it should clean up the users as well.
Well, it's a security risk to leave open every account that is installed by default. Especially certain system accounts that have elevated priviledges. I can certainly remove the daemon for each, but there is no daemon for accounts like "nobody". It's similar to disabling the "guest" account in Windows. It's just good security practice.
If you remove the nobody account some services will run as root which is probaility what you don't want
User accounts don't generally have elevated privledges (read never).
Services start as root then when they have finished doing all the root tasks needed (i.e. opening a port below 1024) they drop root and go to their own user account which "owns" all the files it needs to work and run normally.
All elevated privedges as far as I know are stored in /etc/sudoers
This is the way I understood it as well. Specialized acounts (especially daemon accounts) do not pose the same security risk as they do on a windoze box. I have never heard of this being 'good practice' or proactive in any manner. The more important thing is to eliminate, or at least not run, any services that you don't need. Those services may have security holes that allow buffer overflows and the like, and that is a much bigger security problem then someone trying to log in as 'nobody'.
Well, I will tell you that I am sort of ignorant when it comes to this suject. I do know for a fact, however, that in IRIX it is unsafe to leave accounts like "nobody" and "games" unlocked unless you absolutely need them. That comes straight from SGI's IRIX security guides. I figured it was the same in Linux, but you guys may be right. Thanks for the help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.