From b0ba336d7e09f5b61f3a6c80e0f3591b1ba73651 Mon Sep 17 00:00:00 2001 From: Barry McCormick Date: Wed, 25 Oct 2023 21:14:40 -0700 Subject: [PATCH] documented .hushlogin and uname in jails --- docs/chapters/subcommands/create.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/chapters/subcommands/create.rst b/docs/chapters/subcommands/create.rst index eb9a9677..d3543639 100644 --- a/docs/chapters/subcommands/create.rst +++ b/docs/chapters/subcommands/create.rst @@ -31,3 +31,12 @@ ranges include: Bastille does its best to validate the submitted ip is valid. This has not been thouroughly tested--I generally use the 10/8 range. + +One point to be made about jails. If you run uname inside a jail you will not +get the information about the jail, but about the host system. If you want accurate +information about the jail please use freebsd-version inside the jail. + +Also, the MOTD also was reporting the host system instead of the jail. This +caused a lot of confusion for users, so the MOTD was disabled by the use of +the .hushlogin file. This prevents confusing contradictory information to be +shown to the user.