getsecconf Command

Purpose

Displays the system security flags.

Syntax

getsecconf { -c | -o }

Description

The getsecconf command displays the system security flags. When invoked without any options, the getsecconf command displays the security flags that pertain to the mode the system is running in.

Flags

Item Description
-c Specifies the CONFIGURATION mode.
-o Specifies the OPERATIONAL mode.

Exit Status

The getsecconf command returns the following exit values:

Item Description
0 Successful execution.
>0 An error occurred.

Examples

  1. To display the system security flags in the CONFIGURATION mode, enter:
    getsecconf –c
  2. To display the system security flags in the OPERATIONAL mode, enter:
    getsecconf –o

Files

Item Description
/usr/sbin/getsecconf Contains the getsecconf command.