Files
BastilleBSD_bastille/docs/chapters/subcommands/config.rst

46 lines
1.0 KiB
ReStructuredText
Raw Normal View History

config
2025-03-01 13:04:59 -07:00
======
2025-04-11 17:26:27 -06:00
Get,set or remove properties from targeted jail(s).
Getting a property that *is* defined in jail.conf:
.. code-block:: shell
ishmael ~ # bastille config azkaban get ip4.addr
2025-02-23 11:45:01 -07:00
bastille0|192.168.2.23
Getting a property that *is not* defined in jail.conf
.. code-block:: shell
ishmael ~ # bastille config azkaban get notaproperty
not set
Setting a property:
.. code-block:: shell
2025-02-23 11:45:01 -07:00
ishmael ~ # bastille config azkaban set allow.mlock 1
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
The restart message will appear every time a property is set.
2025-02-23 11:45:01 -07:00
2025-04-11 17:26:27 -06:00
Removing a property:
.. code-block:: shell
ishmael ~ # bastille config azkaban remove allow.mlock
A restart is required for the changes to be applied. See 'bastille restart azkaban'.
The restart message will appear every time a property is removed.
2025-02-23 11:45:01 -07:00
.. code-block:: shell
ishmael ~ # bastille config help
2025-04-11 17:27:17 -06:00
Usage: bastille config TARGET [get|set|remove] PROPERTY [VALUE]
2025-02-23 11:45:01 -07:00
Options:
-x | --debug Enable debug mode.