LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2004, 04:31 PM   #1
ridertech
Member
 
Registered: Dec 2003
Location: Seattle, Washington
Distribution: Debian 'Sarge'
Posts: 85

Rep: Reputation: 15
Removing default users in passwd file?


I'm seting up a web server and trying to reduce the number of users to increase security. Below is the default /etc/passwd file from Debian. I used "find / -user xxxx" to search for files owned by each. The leading # symbol represents the users who do not own files.

Is it a good idea to delete (all, some, none) of these users? Which ones should I not delete?

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/false
#bin:x:2:2:bin:/bin:/bin/false
#sys:x:3:3:sys:/dev:/bin/false
#sync:x:4:100:sync:/bin:/bin/sync
#games:x:5:100:games:/usr/games:/bin/false
man:x:6:100:man:/var/cache/man:/bin/false
#lp:x:7:7:lp:/var/spool/lpd:/bin/false
mail:x:8:8:mail:/var/mail:/bin/false
news:x:9:9:news:/var/spool/news:/bin/false
#uucp:x:10:10:uucp:/var/spool/uucp:/bin/false
#proxy:x:13:13roxy:/bin:/bin/false
#postgres:x:31:32ostgres:/var/lib/postgres:/bin/false
#www-data:x:33:33:www-data:/var/www:/bin/false
#backup:x:34:34:backup:/var/backups:/bin/false
#operator:x:37:37:Operator:/var:/bin/false
li#st:x:38:38:SmartList:/var/list:/bin/false
#irc:x:39:39:ircd:/var:/bin/false
#gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/fasle
nobody:x:65534:65534:nobody:/home:/bin/false
jdoe:x:1000:1000:John Doe,,,:/home/jdoe:/bin/bash
 
Old 05-08-2004, 05:33 PM   #2
Sathington
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 9.1
Posts: 12

Rep: Reputation: 0
Hey man.

Keep all those users if they are default. they are needed for diferent sorts of system functions, and not associated necessarily with security.

as far as I can see, jdoe is the only big threat!

Sath
 
  


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
How to sort regular users and system users from /etc/passwd joeyBig Red Hat 9 05-29-2008 01:59 AM
Showing Users from passwd kemplej Programming 1 12-30-2004 11:10 AM
How to set a Gnome theme as default for all users and future users ? MDesigner Linux - Newbie 1 06-28-2004 12:12 PM
Default entries in /etc/passwd - Slackware J.W. Linux - Security 1 09-23-2003 05:15 PM
Change/import passwd for many users kelper Linux - General 1 08-26-2003 02:37 AM


All times are GMT -5. The time now is 02:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration