aclv.5 (2010 09)
a
aclv(5) aclv(5)
Header <sys/getaccess.h>
The <sys/getaccess.h>
header defines constants for use with getaccess (2).
Special parameter values for uid:
UID_EUID use effective user ID
UID_RUID use real user ID
UID_SUID use saved user ID
Special parameter values for ngroups:
NGROUPS_EGID process’s effective gid
NGROUPS_RGID process’s real gid
NGROUPS_SGID process’s saved gid
NGROUPS_SUPP process’s supplementary groups only
NGROUPS_EGID_SUPP process’s effective gid plus supplementary groups
NGROUPS_RGID_SUPP process’s real gid plus supplementary groups
NGROUPS_SGID_SUPP process’s saved gid plus supplementary groups
WARNINGS
ACLs cannot be used to restrict the superuser’s access.
Most, but not all, supported utilities are able to handle ACLs correctly. However, only the fbackup (1M)
and frecover (1M) file archive utilities handle access control lists properly. When using programs unable
to handle ACLs on files with optional ACL entries (such as archive programs ar(1), cpio (1), ftio (1), tar (1),
and dump(1M)), note the Access Control List information included on their respective reference pages to
avoid loss of data.
DEPENDENCIES
NFS NFS does not support ACLs on remote files. Individual manual entries specify the behavior of vari-
ous system calls, library calls, and commands under these circumstances. Be careful when transfer-
ring a file with optional entries over a network or when manipulating a remote file because optional
entries may be silently deleted.
AUTHOR
The access control list design described here was developed by AT&T.
FILES
<sys/aclv.h> Header file that supports acl (2).
/etc/passwd Defines user names and user and group ID values.
/etc/group Defines group names.
SEE ALSO
chmod(1), cp(1), find(1), getaccess(1), getacl(1), ln(1), ls(1), mv(1), rm(1), setacl(1), fbackup(1M),
frecover(1M), fsck(1M), fsdb(1M) access(2), acl(2), chmod(2), chown(2), creat(2), getaccess(2), mknod(2),
open(2), stat(2), aclsort(3), cpacl(3), group(4), passwd(4), privgrp(4), acl(5).
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5