Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > I

iscomsec(2)

TO BE OBSOLETED
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

iscomsec() — check if 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.

Programs using this routine must be compiled with -lsec.

APPLICATION USAGE

In a multithreaded application, iscomsec() is thread-safe. It is not async-cancel-safe.

WARNINGS

HP-UX 11i Version 3 is the last release to support trusted systems functionality.

AUTHOR

iscomsec was developed by HP.

FILES

/tcb/files/auth/system/default

Trusted system default file

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.