Managing User Accounts and User Environments in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

Default passwd File

The default passwd file contains entries for standard daemons. Daemons are processes that are usually started at boot time to perform some system-wide task, such as printing, network administration, or port monitoring.

The following display shows the contents of a sample passwd file.


Note -  Additional users and groups are created and removed when packages are added or removed from the system. These ongoing changes are reflected in the passwd file. Administrators should not need to clean up this file.
root:x:0:0:Super-User:/root:/usr/bin/bash
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/:
uucp:x:5:5:uucp Admin:/usr/lib/uucp:
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
dladm:x:15:65:Datalink Admin:/:
netadm:x:16:65:Network Admin:/:
netcfg:x:17:65:Network Configuration Admin:/:
smmsp:x:25:25:SendMail Message Submission Program:/:
gdm:x:50:50:GDM Reserved UID:/var/lib/gdm:
zfssnap:x:51:12:ZFS Automatic Snapshots Reserved UID:/:/usr/bin/pfsh
upnp:x:52:52:UPnP Server Reserved UID:/var/coherence:/bin/ksh
xvm:x:60:60:xVM User:/:
mysql:x:70:70:MySQL Reserved UID:/:
openldap:x:75:75:OpenLDAP User:/:
webservd:x:80:80:WebServer Reserved UID:/:
postgres:x:90:90:PostgreSQL Reserved UID:/:/usr/bin/pfksh
svctag:x:95:12:Service Tag UID:/:
unknown:x:96:96:Unknown Remote UID:/:
nobody:x:60001:60001:NFS Anonymous Access User:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
ikeuser:x:67:12:IKE Admin:/:
ftp:x:21:21:FTPD Reserved UID:/:
dhcpserv:x:18:65:DHCP Configuration Admin:/:
aiuser:x:60003:60001:AI User:/:
pkg5srv:x:97:97:pkg(5) server UID:/:

The display above shows sample passwd file contents without any explanation. The following table goes further, providing a description and the source package information for each daemon in a standard passwd file.

Table 1-3  Default passwd File Entries
User Name
User ID
Description
Package
root
0
Reserved for superuser account
system/core-os
daemon
1
Umbrella system daemon associated with routine system tasks
system/core-os
bin
2
Administrative daemon associated with running system binaries to perform some routine system task
system/core-os
sys
3
Administrative daemon associated with system logging or updating files in temporary directories
system/core-os
adm
4
Administrative daemon associated with system logging
system/core-os
lp
71
Reserved for the Line printer daemon
system/core-os
uucp
5
Assigned to the daemon that is associated with uucp functions
system/core-os
nuucp
9
Assigned to another daemon associated with uucp functions
system/core-os
dladm
15
Reserved for datalink administration
system/core-os
netadm
16
Reserved for network administration
system/core-os
netcfg
17
Reserved for network configuration administration
system/core-os
smmsp
25
Assigned to the Sendmail message submission program daemon
system/core-os
gdm
50
Assigned to the GNOME Display Manager daemon
system/core-os
zfssnap
51
Reserved for automatic snapshots
system/core-os
upnp
52
Reserved for UPnP server
system/core-os
xvm
60
Reserved for xVM user
system/core-os
mysql
70
Reserved for MySQL user
system/core-os
openldap
75
Reserved for OpenLDAP user
library/ldap
webservd
80
Reserved for WebServer access
system/core-os
postgres
90
Reserved for PostgresSQL access
system/core-os
svctag
95
Reserved for Service Tag Registry access
system/core-os
unknown
96
Reserved for unmappable remote users in NFSv4 ACLs
system/core-os
nobody
60001
Reserved for NFS Anonymous Access user
system/core-os
noaccess
60002
Reserved for No Access user
system/core-os
nobody4
65534
Reserved for SunOS 4.x NFS Anonymous Access user
system/core-os
ikeuser
67
Reserved for Internet Key Exchange (IKE) access
system/network/ike
ftp
21
Reserved for FTP access
service/network/ftp
dhcpserv
18
Reserved for DHCP server user
service/network/dhcp/
isc-dhcp
aiuser
60003
Reserved for AI user
system/install/auto-install/
auto-install-common
pkg5srv
97
Reserved for pkg(5) depot server
package/pkg