|
NAMEcbsd jconstruct-tui —
Ncurses based jail creation wizard.
SYNOPSIS
DESCRIPTIONThecbsd jconstruct-tui command uses dialog-based
interface to create jail configuration used to create a new jail. There are
other ways to create this configuration. Using shell-based question/answer
utility jconstruct or using the web interface.
Command line option:
Dialog menu options:
Dialog menu options with mode=full: Some notes about packages selected using When pkg.conf and repository are configured properly it is
possible to select packages to be installed right after jail creation using
the pkglist menu item. For security reasons it is recommended to use either
official FreeBSD pkg repo, or build your own packages. If the repository is
unavailable the pkglist will not show any results. Multi-repo support and
the ability to choose a specific repository is missing at the time. Please
remember that packages chosen using After you have configured all the options, after hitting "GO Proceed" you will be asked one final question, if you would like to create jail right away or save the configuration for later jail creation. The later can be done by running % cbsd jcreate jconf=path_to_cfg Important security implication: Make it a rule to always change the root password in newly created jails or in jails obtained from a repository. If the jail is created with "applytpl=0" the files /etc/{passwd,master.passwd,group} will be the same as original "clean" files from FreeBSD installation, leaving the root password empty. If the jail is created with "applytpl=1" $workdir/share/jail-skel files will be used as skel files. Here the default password is 'cbsd'. You can change default root password when new jail is created by editing the hash in jail-skel master.passwd: % vipw -d ${workdir}/share/jail-skel/etc ENVIRONMENTBy default, CBSD displays text in color (using escape sequences ANSII). If for some reason the color is unpleasant, or you want to use output from CBSD utilities in your scripts, you can disable the color through the environment variable NOCOLOR=1. For example:% env NOCOLOR=1 FILES
EXIT STATUSThecbsd jconstruct-tui utility exits 0 on
success, and >0 if an error occurs.
DIAGNOSTICSTo enable debugging via sh xtrace and trace all operations, use --debug argument after the CBSD command, for example:% env NOCOLOR=1 SEE ALSOcbsd-jconstruct(8) cbsd-jcreate(8) dialog(1)AUTHORSOleg Ginzburg <olevole@olevole.ru>
Visit the GSP FreeBSD Man Page Interface. |