Command Reference Guide

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1/!!!intro.1
________________________________________________________________
___ ___
g
getaccess(1) getaccess(1)
2 A file is nonexistent or unreachable (by the caller). getaccess prints an appropriate mes-
sage to standard error, continues, then returns a value of 2 upon completion.
EXAMPLES
The following command prints the caller’s access rights to file1 using the file’s group ID instead of the
caller’s effective group ID and groups list.
getaccess -g@ file1
Heres how to check access by user ggd in groups red and 19 to all files in the current directory, with
access rights expressed as octal values.
getaccess -u ggd -g red,19 -n .* *
Heres how to list access rights for all files under mydir.
find mydir -print | sort | xargs getaccess
AUTHOR
getaccess was developed by HP.
FILES
/etc/passwd
/etc/group
SEE ALSO
chacl(1), getacl(1), lsacl(1), setacl(1), getaccess(2), glossary(9).
Section 1324 2 HP-UX Release 11i: December 2000
___
___