Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 325:a60fb7a719b3 | 326:db04f195db32 |
|---|---|
| 1 .. -*- coding: utf-8; indent-tabs-mode: nil; -*- | |
| 2 | |
| 3 fjail-configure | |
| 4 =============== | |
| 5 | |
| 6 Synopsis | |
| 7 -------- | |
| 8 | |
| 9 **fjail configure** `mountpoint` | |
| 10 | |
| 11 | |
| 12 Description | |
| 13 ----------- | |
| 14 | |
| 15 Configure some basic settings of a jail that is mounted at `mountpoint`. | |
| 16 | |
| 17 The "root" account within the jail is deactivated. | |
| 18 | |
| 19 In the jail's :file:`/etc/rc.conf`:: | |
| 20 | |
| 21 sendmail_enable="NONE" | |
| 22 clear_tmp_enable="YES" | |
| 23 clear_tmp_X="NO" | |
| 24 syslogd_flags="-ss" | |
| 25 bsdstats_enable="NO" | |
| 26 | |
| 27 The timezone is set to "Europe/Berlin" if not yet set. | |
| 28 | |
| 29 The :file:`/etc/resolv.conf` is copied from the host into the jail if | |
| 30 the target does not exist yet. | |
| 31 | |
| 32 :command:`/usr/bin/newaliases` is called within the jail. | |
| 33 | |
| 34 In the jail's :file:`/etc/periodic.conf.local`:: | |
| 35 | |
| 36 daily_ntpd_leapfile_enable="NO" | |
| 37 daily_status_zfs_zpool_list_enable="NO" | |
| 38 daily_status_disks_enable="NO" | |
| 39 daily_status_uptime_enable="NO" | |
| 40 | |
| 41 Can be used for all sort of jails (normal, thin). | |
| 42 | |
| 43 A proposal for a hostid suitable for use within the jail is printed to | |
| 44 stdout also; this is done by calling :command:`fjail hostid`. | |
| 45 | |
| 46 | |
| 47 See Also | |
| 48 -------- | |
| 49 | |
| 50 :manpage:`fjail(8)`, :manpage:`ftjail(8)`, :manpage:`fjail-hostid(8)` |
