privgrp(5)privgrp(5)NAMEprivgrp - HP-UX group privileges
DESCRIPTION
HP-UX allows subletting of limited superuser-like privileges to all
users or to members of a particular group or groups. This capability
is deprecated and only existing applications should use it. The newer
fine-grained privilege facilities described in privileges(5) should be
used by new applications.
The header defines the following symbolic privilege names: and
All but one of the group privileges are supported as fine-grained priv‐
ileges and described in privileges(5). The one group privilege not
supported as a fine-grained privilege is:
Permits the use of the
and system calls for changing respectively the
real user ID and real group ID of a process (see
setuid(2)). This behavior of is deprecated and
only legacy applications should use it. Newer
applications should use and respectively, to
achieve the same effect. (No special privileges
required.)
The header defines two additional symbolic constants:
defines the maximum number of groups with special privileges.
Of this maximum, one is reserved for global priv‐
ileges (granted to all processes) and the remain‐
der can be assigned to actual group IDs.
defines the size of the multi-word mask used
in defining privileges associated with a group
ID.
The and commands and the and system calls may be used to define and
query the privilege group associations.
The group privileges are automatically initialized from the contents of
(see privgrp(4)) at boot time.
WARNINGS
This mechanism is deprecated and only legacy applications should use
it. See privileges(5) for a description of fine-grained privileges.
SEE ALSOgetprivgrp(1), setprivgrp(1M), chown(2), getprivgrp(2), lockf(2),
mpctl(2), plock(2), pset_create(2), rtprio(2), rtsched(2), serial‐
ize(2), setgid(2), setuid(2), shmctl(2), privgrp(4), privileges(5).
privgrp(5)