LinuxQuestions.org
Register a domain and help support LQ
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 10-13-2007, 07:38 PM   #1
vegas35
LQ Newbie
 
Registered: Oct 2007
Posts: 10

Rep: Reputation: 0
What are all these default users in /etc/passwd?


Can anyone point me to a good resource or reference out there which will help me determine the purpose of each user which is built on my Fedora, SuSE, ubuntu, etc. distros? Some of my servers need to be secured, and I'd like to disable or userdel some accounts if they're not needed. But, how do I know which ones are needed?

Some are obvious, like sshd, while others are not so obvious, such as sync or games. Seems like I could userdel games, but I'm not sure. Same for many other accounts.

Anyone know of a good reference that identifies the purpose of all these accounts?

Thanks for any help!
 
Old 10-13-2007, 10:03 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I don't have a link to a page that explains each of them (I'm sure someone else does, though), but if you do a search for files owned by those users on your system it might help you in knowing what the accounts are for and/or if they are being used at the moment. For example, if I search for files owned by "daemon", I get this:
Code:
win32sux@candystore:~$ sudo find / -user daemon 2> /dev/null
/var/spool/cron
/var/spool/cron/atjobs
/var/spool/cron/atjobs/.SEQ
/var/spool/cron/atspool
/usr/bin/at
/proc/5169
/proc/5169/task
/proc/5169/task/5169
/proc/5169/task/5169/attr
/proc/5169/attr
win32sux@candystore:~$
 
Old 11-12-2007, 04:26 PM   #3
BMackey
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Lightbulb

Rather than userdel, it is probably best to set the shell to /bin/false for those services you aren't sure of.
 
  


Reply

Tags
security, users


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
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 01:59 AM
Default root passwd suse 10.1 rgpai Linux - Software 1 11-02-2006 10:19 PM
RHEL default max passwd length? NetArch Linux - Security 1 05-05-2006 05:44 AM
Removing default users in passwd file? ridertech Linux - Newbie 1 05-08-2004 05:33 PM
Default entries in /etc/passwd - Slackware J.W. Linux - Security 1 09-23-2003 05:15 PM


All times are GMT -5. The time now is 12:57 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration