HPlogo HP-UX Reference Volume 3 of 5 > i

iscomsec(2)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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

© Hewlett-Packard Development Company, L.P.