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).