|
|
HP-UX Reference > Pprivgrp(5)HP-UX 11i Version 2: December 2007 Update |
|
NAMEprivgrp — HP-UX group privileges DESCRIPTIONHP-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 <sys/privgrp.h> header defines the following symbolic privilege names: PRIV_CHOWN, PRIV_FSSTHREAD, PRIV_LOCKRDONLY, PRIV_MLOCK, PRIV_MPCTL, PRIV_PSET, PRIV_RTPRIO, PRIV_RTSCHED, PRIV_SERIALIZE, PRIV_SETRUGID, and PRIV_SPUCTL. All but one of the group privileges are supported as fine-grained privileges and described in privileges(5). The one group privilege not supported as a fine-grained privilege is:
The <sys/privgrp.h> header defines two additional symbolic constants:
The setprivgrp and getprivgrp commands and the setprivgrp() and getprivgrp() system calls may be used to define and query the privilege group associations. The group privileges are automatically initialized from the contents of /etc/privgroup (see privgrp(4)) at boot time. WARNINGSThis 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), serialize(2), setgid(2), setuid(2), shmctl(2), privgrp(4), privileges(5). |
|