config-hardening

config-hardening

Manage MAAS hardening configuration parameters.

maas $PROFILE [-h] COMMAND ...

Command-line options

Option

Effect

-h, –help

show this help message and exit.

Drill down

Command

Effect

set

Set a hardening parameter.

get

Get a hardening parameter value.

list

List all hardening parameters.

validate

Run hardening validation; print violations; exit non-zero if any

exist. enable

Enable hardening (hardening_enabled=on).

disable

Disable hardening; refused on FIPS hosts.

disable

maas $PROFILE disable [-h]

Command-line options

Option

Effect

-h, –help

show this help message and exit.

enable

maas $PROFILE enable [-h]

Command-line options

Option

Effect

-h, –help

show this help message and exit.

get

maas $PROFILE get [-h] key

Positional arguments

Argument

Effect

key

The key parameter

Command-line options

Option

Effect

-h, –help

show this help message and exit.

list

maas $PROFILE list [-h]

Command-line options

Option

Effect

-h, –help

show this help message and exit.

set

maas $PROFILE set [-h] key value

Positional arguments

Argument

Effect

key

The key parameter

value

The value parameter

Command-line options

Option

Effect

-h, –help

show this help message and exit.

validate

maas $PROFILE validate [-h]

Command-line options

Option

Effect

-h, –help

show this help message and exit.