mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-04 03:33:41 +01:00
Merge pull request #619 from BastilleBSD/issue-393
documentation of uname and MOTD & hushlogin
This commit is contained in:
@@ -32,11 +32,12 @@ ranges include:
|
|||||||
Bastille does its best to validate the submitted ip is valid. This has not been
|
Bastille does its best to validate the submitted ip is valid. This has not been
|
||||||
thouroughly tested--I generally use the 10/8 range.
|
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
|
A couple of notes about the created jails. First, MOTD has been disabled inside
|
||||||
get the information about the jail, but about the host system. If you want accurate
|
of the jails because it does not give information about the jail, but about the host
|
||||||
information about the jail please use freebsd-version inside the jail.
|
system. This caused confusion for some users, so we implemented the .hushlogin which
|
||||||
|
silences the MOTD at login.
|
||||||
|
|
||||||
|
Also, uname does not work from within a jail. Much like MOTD, it gives you the version
|
||||||
|
information about the host system instead of the jail. If you need to check the version
|
||||||
|
of freebsd running on the jail use the freebsd-version command to get accurate information.
|
||||||
|
|
||||||
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.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user