mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-11 17:39:52 +01:00
100 lines
2.3 KiB
Groff
100 lines
2.3 KiB
Groff
.Dd 2025/12/06
|
|
.Dt bastille-config 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm bastille config
|
|
.Nd Get, set, add or remove properties from jail(s).
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl x
|
|
.Cm set|add
|
|
.Ar PROPERTY
|
|
.Op VALUE
|
|
.Nm
|
|
.Op Fl x
|
|
.Cm get|remove
|
|
.Ar PROPERTY
|
|
.Sh DESCRIPTION
|
|
The
|
|
.Nm
|
|
sub-command will modify targeted jail(s) configuration and
|
|
get, set, add or remove properties.
|
|
.Bl -tag -width Ds
|
|
.It Sy bastille config Oo Fl x Oc Sy set|add Ar PROPERTY Op VALUE
|
|
.Bl -tag -width Ds
|
|
.It Sy set
|
|
Set the value of the specified property from the jail configuration.
|
|
If the property is not set, it will be added and set.
|
|
.It Sy add
|
|
Same as set.
|
|
.It Fl x , Fl -debug
|
|
Enable debug mode.
|
|
.El
|
|
.Pp
|
|
It is not always necesary to set a
|
|
.Ar VALUE
|
|
for a
|
|
.Ar PROPERTY .
|
|
For example, 'allow.mlock=1' is the same as 'allow.mlock'.
|
|
.It Sy bastille config Oo Fl x Oc Sy get|remove Ar PROPERTY
|
|
.Bl -tag -width Ds
|
|
.It Sy get
|
|
Get the value of the specified
|
|
.Ar PROPERTY
|
|
from the jail configuration. If a property is not present, 'not
|
|
enabled' will be shown. If the property has no value, but
|
|
is present, 'enabled' will be returned. Otherwise you will be
|
|
shown the value.
|
|
.It Sy remove
|
|
Remove the specified
|
|
.Ar PROPERTY
|
|
from the jail configuration.
|
|
.It Fl x , -debug
|
|
Enable debug mode.
|
|
.Sh EXAMPLES
|
|
.Bl -tag -width Ds
|
|
.It Set allow.mlock inside myjail:
|
|
.Sy bastille config myjail set allow.mlock 1
|
|
.It Set to priority value of myjail:
|
|
.Sy bastille config myjail set priority 10
|
|
.It Set the boot value:
|
|
.Sy bastille config myjail set boot off
|
|
.Sh SEE ALSO
|
|
.Xr bastille.conf 5 ,
|
|
.Xr bastille-bootstrap 1 ,
|
|
.Xr bastille-clone 1 ,
|
|
.Xr bastille-cmd 1 ,
|
|
.Xr bastille-console 1 ,
|
|
.Xr bastille-convert 1 ,
|
|
.Xr bastille-cp 1 ,
|
|
.Xr bastille-create 1 ,
|
|
.Xr bastille-destroy 1 ,
|
|
.Xr bastille-edit 1 ,
|
|
.Xr bastille-etcupdate 1 ,
|
|
.Xr bastille-export 1 ,
|
|
.Xr bastille-htop 1 ,
|
|
.Xr bastille-import 1 ,
|
|
.Xr bastille-jcp 1 ,
|
|
.Xr bastille-limits 1 ,
|
|
.Xr bastille-list 1 ,
|
|
.Xr bastille-migrate 1 ,
|
|
.Xr bastille-mount 1 ,
|
|
.Xr bastille-network 1 ,
|
|
.Xr bastille-pkg 1 ,
|
|
.Xr bastille-rcp 1 ,
|
|
.Xr bastille-rdr 1 ,
|
|
.Xr bastille-rename 1 ,
|
|
.Xr bastille-restart 1 ,
|
|
.Xr bastille-service 1 ,
|
|
.Xr bastille-setup 1 ,
|
|
.Xr bastille-start 1 ,
|
|
.Xr bastille-stop 1 ,
|
|
.Xr bastille-sysrc 1 ,
|
|
.Xr bastille-tags 1 ,
|
|
.Xr bastille-template 1 ,
|
|
.Xr bastille-top 1 ,
|
|
.Xr bastille-umount 1 ,
|
|
.Xr bastille-update 1 ,
|
|
.Xr bastille-upgrade 1 ,
|
|
.Xr bastille-verify 1 ,
|
|
.Xr bastille-zfs 1 |