Security Edition Commands

Overview

"kusanagi" commands can be executed by either "root" users or users belonging to the "www" group. (Kusanagi users belong to the ”www” group by default.)
If you are not able to use the "kusanagi" commands, please make sure you are a "root" user or a user belonging to the "www" group.
The full path to "kusanagi" commands is "/opt/local/bin/kusanagi".

Common options

-V | --version

Checks version information for the current KUSANAGI environment.

Example

kusanagi -V
kusanagi --version

Output

# kusanagi -V
KUSANAGI Version  10.0.0-1.el9

-h | --help

Displays the usage of "kusanagi" commands and each subcommand.

Example

kusanagi -h
kusanagi init -h
kusanagi ssl -h

[--dryrun] {subcommand}

Verifies the result of executing a "kusanagi" subcommand without actually executing the subcommand.
The "--dryrun" option must be specified immediately before the subcommand.
After the subcommand, specify the options for each subcommand.

Example

kusanagi --dryrun provision test
kusanagi --dryrun bcache clear --path /path/to

[--quiet] {subcommand}

Suppresses output for successful command execution for executing a "kusanagi" subcommand.
The "--dryrun" option must be specified immediately before the subcommand.
After the subcommand, specify the options for each subcommand.

Example

kusanagi --quiet list
kusanagi --quiet show profile

Command list