LinuxQuestions.org
Visit Jeremy's Blog.
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 06-07-2005, 10:25 AM   #1
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Rep: Reputation: 15
Which user accts in Redhat safe to delete?


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.
 
Old 06-07-2005, 12:04 PM   #2
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
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.

slight
 
Old 06-07-2005, 12:50 PM   #3
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
Old 06-07-2005, 02:47 PM   #4
Frankablu
LQ Newbie
 
Registered: Jan 2003
Posts: 12

Rep: Reputation: 0
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
 
Old 06-07-2005, 04:36 PM   #5
slightcrazed
Member
 
Registered: May 2003
Location: Lisbon Falls, Maine
Distribution: RH 8.0, 9.0, FC2 - 4, Slack 9.0 - 10.2, Knoppix 3.4 - 4.0, LFS,
Posts: 789

Rep: Reputation: 30
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'.



slight
 
Old 06-11-2005, 10:21 AM   #6
scottjwoodford
LQ Newbie
 
Registered: Jun 2005
Posts: 27

Original Poster
Rep: Reputation: 15
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.
 
  


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
Samba PDC XP Pro client and Outlook Express user accts alans Linux - Networking 2 11-27-2004 02:02 PM
XMMS permissions on user accts seanmaggs Linux - Software 4 03-28-2004 07:40 AM
What is safe do delete in slack9? kleptophobiac Slackware 10 08-13-2003 09:30 PM
Is it safe to delete default nobody user? dunkyb Linux - General 2 03-16-2003 12:38 PM
Default Gnome setting for all new user accts. BlueBerry Linux - General 0 12-28-2001 01:32 PM

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

All times are GMT -5. The time now is 07: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