03-07-06 10:54 PM
(Followup-to: comp.security.unix)
odgreen1 wrote:
> I'm just starting my career in information security and have already
> found that I have quite a few questions concerning UNIX security and
> account setup.
>
> Here is my first question(s):
> 1. There are several accounts that seem to be default on all UNIX
> systems or on certain UNIX platforms (i.e. SUN, AIX, HP, etc). What I'm
> trying to do is figure out what the following accounts are used for:
> listen
> nobody
> nobody4
> noaccess
These typically exist to be used as IDs having little, "no", or quite
limited privileges. E.g. when one wants an ID that should own
precisely nothing on any of the file systems on a system, one might
have an ID specifically for that purpose, so that daemons, or other
processes that shouldn't own anything and should have no unusual
privileges regarding file access, they can run with the appropriate
suitable ID. There may also be a significant number of such IDs.
Most notably to isolate them from each other - e.g. so that if a
process under one ID is corrupted/compromised, it can't directly
impact the other IDs (e.g. can't signal those processes, access
their memory, or other resources via proc file system or other means,
etc.), and it's more likely any problem can be tracked back to the
responsible service/process/program via the ID. This is also a
reason why many network services will each have their own IDs. IDs
are also sometimes used to have some type of privilege, but less than
superuser (root). Again, there may be many such IDs, for purposes of
isolating them from each other. Removing IDs doesn't necessarily
enhance security, and possibly can cause problems, break things, or
weaken security. If an ID is properly locked down and secured, it
should not pose additional security risks. Ye olde C2 security
requirements actually require that IDs not be removed, but that
instead they be permanently "retired"/deactivated (most notably this
leaves a better audit trail, as the UID <--> login mapping will
always persist and be consistent when C2 is strictly adhered to).
E.g. here's a short list of some special-purpose IDs that may exist on
some systems:
adm
alias
aptproxy
asg
audit
auth
backup
bin
bind
cron
daemon
Debian-exim
dos
faxmaster
fetchmail
ftp
games
gdm
gnats
gopher
identd
informix
ingres
irc
list
logcheck
lp
mail
majordom
man
messagebus
mmdf
msql
netplan
network
news
nobody
ntop
nuucp
operator
oracle
partimag
postgres
proxy
qmaild
qmaill
qmailp
qmailq
qmailr
qmails
rwhod
saned
smmsp
snort
sshd
sslwrap
sync
sys
sysinfo
telnetd
tftpuser
uucp
www-data
[ Post a follow-up to this message ]
|