HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)

i
iscomsec(2) iscomsec(2)
NAME
iscomsec - check if the system has been converted to a trusted system.
SYNOPSIS
#include <prot.h>
int iscomsec();
DESCRIPTION
iscomsec returns a zero (0) if the system is not a trusted system. If the system has been converted to a
trusted system, iscomsec returns a one (1).
NOTES
iscomsec determines if the system is a trusted system or not by checking the file,
/tcb/files/auth/system/default
. If the file exists, then the system is a trusted system. If the
file does not exist, then the system is not a trusted system.
On a trusted system,
/tcb/files/auth/system/default
should never be deleted.
AUTHOR
iscomsec was developed by HP.
FILES
/tcb/files/auth/system/default
Trusted system default file
Section 2128 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005