From 240e4ab7622302bd3079b8d1129baf4102311803 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Tue, 20 Oct 2020 14:38:58 +0200 Subject: [PATCH] [BLOG] FreeBSD Jail Jumphost fixed typo --- content/post/freebsd_jail_jumphost.md | 2 +- public/post/freebsd_jail_jumphost/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/post/freebsd_jail_jumphost.md b/content/post/freebsd_jail_jumphost.md index 825b20e..ca034a4 100644 --- a/content/post/freebsd_jail_jumphost.md +++ b/content/post/freebsd_jail_jumphost.md @@ -67,7 +67,7 @@ export PATH Make sure the permissions are so that the user cannot modify its own `.(bash_)profile` files. ``` -# chown root: .bash_profile .profile +# chown root:user .bash_profile .profile ``` Remove also all unused rc files like cshrc, shrc, etc. diff --git a/public/post/freebsd_jail_jumphost/index.html b/public/post/freebsd_jail_jumphost/index.html index 430e5da..55e93db 100644 --- a/public/post/freebsd_jail_jumphost/index.html +++ b/public/post/freebsd_jail_jumphost/index.html @@ -150,7 +150,7 @@ ListenAddress 10.0.0.10 PATH=$HOME/bin export PATH

Make sure the permissions are so that the user cannot modify its own .(bash_)profile files.

-
# chown root:<user> .bash_profile .profile
+
# chown root:user .bash_profile .profile
 

Remove also all unused rc files like cshrc, shrc, etc.

# rm .cshrc .shrc ...
 

Create .ssh folder and fill authorized_keys file (optional).