LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2003, 01:56 AM   #1
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 85
Default entries in /etc/passwd - Slackware


I am attempting to learn more about Linux security, and I'm curious about the entries in my /etc/passwd file. As I understand it, the only entries in there should be ones that are created by the distro installation process, or those that I create myself. I recognize most of the entries, but I have questions about some of the others. Apart from root, the one user account I've set up is for myself (specifically, jw) but I'm curious as to what other entries should be in the list. This is what's in my passwd file (at least in terms of the accounts) and the only entry I've made is the last one, corresponding to the single user ID I set up. Is this set typical, or are there are any unexpected entries in this list? Along those lines, are there any entries that I should remove? All feedback welcome. Thanks -- J.W.

root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
ftp
smmsp
mysql
rpc
gdm
pop
nobody
sshd
jw
 
Old 09-23-2003, 04:15 PM   #2
zatriz
Member
 
Registered: Aug 2003
Location: Seattle, Wa
Distribution: Fedora,Trustix,Debian
Posts: 290

Rep: Reputation: 30
All the entries are typical
Linux makes multiple accounts like that for programs to run as so that they dont have root access in case some is able to hack in.
But they aren't real accounts if you check the very end of the lines for most of the accounts they will say
/sbin/nologin or /bin/false
that means that the programs can use it to run as but you cant login to the computer with those accounts.
Hope this helps
 
  


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
Best way to copy passwd entries rtcary Linux - Newbie 3 07-17-2005 01:42 PM
scrpit for finding out new entries in /etc/passwd icefairy83 Linux - Security 8 05-27-2005 11:35 AM
Removing default users in passwd file? ridertech Linux - Newbie 1 05-08-2004 04:33 PM
migrating BSD to Slackware passwd file bgovoni Linux - General 0 04-22-2004 05:31 PM
Slackware 9.1 Default mysql silversky Slackware 7 01-29-2004 03:12 PM

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

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