1. You can tell which accounts are system accounts by check the contents
of /etc/shadow. System accounts and accounts which you explicitly
disabled will have either a *, a !! or x in the password field (i.e.
system accounts dont have a password).
2. The quickest way to determine which account is associated with a
running service is to use the ps command (ps uax on my machine but check
man ps, the options vary on different distros).
3. I dont know any documents which describe the usernames associated
with different services. Note the username / service association is
arbitrary and varies between different distributions and even different
versions of the same distribution.
Sorry if I haven't answered your question, if you explain in more detail
why you need the information I'll have a better understanding of what
> Where can I find those well known unix / linux account list information ?
> > Yep. System accounts dont have a password. Most modern distros use
> > /etc/shadow to hold passwords (you need to be root to see it). The
> > format of /etc/shadow is:
> > username:password:otherstuff...
> > Accounts in /etc/shadow which look like:
> > accountname:*:otherstuff...
> > accountname:!!:otherstuff...
> > accountname:x:otherstuff
> > are either system accounts or disabled accounts. You know which accounts
> > you disabled.
> > Eric Worrall
> > > Hi,
> > > I'm compiling unix & linux account list in my company under linux 6.2,
> > > 7.0 & digital unix 4 platforms (I'm not the original administrator of
> > > these servers & no document left behind by previous adminstrator who
> > > had left).
> > > As I cat the /etc/passwd file, I found many accounts seem be used by
> > > OS or system services only. Some of them are very obvious like adm,
> > > bin, daemon, lp, news, uucp, games, gopher, ftp, sys, etc. But each
> > > platform has some unique account names which seem not being used by
> > > users e.g. gdm, halt, nobody, nobodyV, nobody4, tcb, ris, wnn, nuucp,
> > > etc.
> > > I would like to ask is there any easy way to identify which account is
> > > human user account and which being OS / OS service accounts ? Any
> > > document available on internet to list those common system services
> > > accounts ?
> > > Can I based on the initial program or shell that executes to help
> > > judge this e.g. user accounts will initialize a shell like bash, csh,
> > > etc while system own accounts will not.
> > > Tks!
You have just received an Etech Solution
For all your Linux requirements contact