setrunmode Command

Purpose

Sets the run mode of the system.

Syntax

setrunmode { -c | -o }

Description

The setrunmode command sets the run mode of the system. A run mode is either the CONFIGURATION mode or the OPERATIONAL mode.

Flags

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

Security

Only users that have the following authorization can run the command successfully:

Item Description
aix.mls.system.mode Required to set the run mode.

Examples

  1. To set the system in the CONFIGURATION mode, enter the following command:
    setrunmode –c
  2. To set the system in the OPERATIONAL mode, enter the following command:
    setrunmode –o

Files

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