Operating System - HP-UX
1833772 Members
2284 Online
110063 Solutions
New Discussion

How can I know what is the usage of the default users and groups offered by HPUX?

 
haiyu Huang
Occasional Contributor

How can I know what is the usage of the default users and groups offered by HPUX?

here is a question:
How can I know which user and group are offered by HPUX? I mean default and not created by persons.
And what are their usages?
thanks a lot.
hery
5 REPLIES 5
Roger Baptiste
Honored Contributor

Re: How can I know what is the usage of the default users and groups offered by HPUX?

Haiyu,

The "base" password and group files
will list the users and groups offered
by Hpux. These files are present in
/usr/newconfig/etc/passwd and
/usr/newconfig/etc/group.

-R

Take it easy.
Michael Tully
Honored Contributor

Re: How can I know what is the usage of the default users and groups offered by HPUX?

Hi,

The defaults are below

/etc/passwd
root::0:3::/:/sbin/sh
daemon:*:1:5::/:/sbin/sh
bin:*:2:2::/usr/bin:/sbin/sh
sys:*:3:3::/:
adm:*:4:4::/var/adm:/sbin/sh
uucp:*:5:3::/var/spool/uucppublic:/usr/lbin/uucp/uucico
lp:*:9:7::/var/spool/lp:/sbin/sh
nuucp:*:11:11::/var/spool/uucppublic:/usr/lbin/uucp/uucico
hpdb:*:27:1:ALLBASE:/:/sbin/sh
nobody:*:-2:-2::/:
www:*:30:1::/:

/etc/group
root::0:root
other::1:root,hpdb
bin::2:root,bin
sys::3:root,uucp
adm::4:root,adm
daemon::5:root,daemon
mail::6:root
lp::7:root,lp
tty::10:
nuucp::11:nuucp
users::20:root
nogroup:*:-2:

Anyone for a Mutiny ?
Wodisch
Honored Contributor

Re: How can I know what is the usage of the default users and groups offered by HPUX?

Hello Haiyu,

only som of those are really needed, though (today, at least)...
E.g. the spooler will not work without the account for "lp".
Be careful when comparing to other flavours of UN*X, since the correlation between name and id (=number) are different!

HTH,
Wodisch
haiyu Huang
Occasional Contributor

Re: How can I know what is the usage of the default users and groups offered by HPUX?

thanks for your feedback.

I want to know what does these foundmental users take effect to HPUX.
for example:
lp--> printer...etc.
thanks all
hery
Michael Tully
Honored Contributor

Re: How can I know what is the usage of the default users and groups offered by HPUX?

Hi,

The users/groups that you are talking
about are referred to as pseudo accounts.
For example processes related to printing
fall under the lp group. The default group
for users is 'users'. mail files belong
to 'mail' uucp is unix to unix connectivity
you can actually remove a lot of these
for security purposes providing they are not
being used.
Anyone for a Mutiny ?