Red Hat Training

A Red Hat training course is available for Red Hat Satellite

20.20. Method: setSELinux

Description

Sets the SELinux enforcing mode property of a kickstart profile so that a system created using this profile has the appropriate SELinux enforcing mode.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string ksLabel - The kickstart profile label
  • string enforcingMode - The SELinux enforcing mode
    • enforcing
    • permissive
    • disabled
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise