diff docs/man/man8/fjail-configure.rst @ 326:db04f195db32

Man pages for fjail-configure and fjail-hostid
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 29 Nov 2022 09:41:36 +0100
parents
children 184412e2543e
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docs/man/man8/fjail-configure.rst	Tue Nov 29 09:41:36 2022 +0100
@@ -0,0 +1,50 @@
+.. -*- coding: utf-8; indent-tabs-mode: nil; -*-
+
+fjail-configure
+===============
+
+Synopsis
+--------
+
+**fjail configure** `mountpoint`
+
+
+Description
+-----------
+
+Configure some basic settings of a jail that is mounted at `mountpoint`.
+
+The "root" account within the jail is deactivated.
+
+In the jail's :file:`/etc/rc.conf`::
+
+  sendmail_enable="NONE"
+  clear_tmp_enable="YES"
+  clear_tmp_X="NO"
+  syslogd_flags="-ss"
+  bsdstats_enable="NO"
+
+The timezone is set to "Europe/Berlin" if not yet set.
+
+The :file:`/etc/resolv.conf` is copied from the host into the jail if
+the target does not exist yet.
+
+:command:`/usr/bin/newaliases` is called within the jail.
+
+In the jail's :file:`/etc/periodic.conf.local`::
+
+  daily_ntpd_leapfile_enable="NO"
+  daily_status_zfs_zpool_list_enable="NO"
+  daily_status_disks_enable="NO"
+  daily_status_uptime_enable="NO"
+
+Can be used for all sort of jails (normal, thin).
+
+A proposal for a hostid suitable for use within the jail is printed to
+stdout also; this is done by calling :command:`fjail hostid`.
+
+
+See Also
+--------
+
+:manpage:`fjail(8)`, :manpage:`ftjail(8)`, :manpage:`fjail-hostid(8)`