[BLOG] FreeBSD Jail Jumphost fixed typo

This commit is contained in:
Simon Cornet 2020-10-20 14:38:58 +02:00
parent 4add213f6f
commit 240e4ab762
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ export PATH
Make sure the permissions are so that the user cannot modify its own `.(bash_)profile` files. 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 <shell>rc files like cshrc, shrc, etc. Remove also all unused <shell>rc files like cshrc, shrc, etc.

View File

@ -150,7 +150,7 @@ ListenAddress 10.0.0.10
PATH=$HOME/bin PATH=$HOME/bin
export PATH export PATH
</code></pre></div><p>Make sure the permissions are so that the user cannot modify its own <code>.(bash_)profile</code> files.</p> </code></pre></div><p>Make sure the permissions are so that the user cannot modify its own <code>.(bash_)profile</code> files.</p>
<div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback"># chown root:&lt;user&gt; .bash_profile .profile <div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback"># chown root:user .bash_profile .profile
</code></pre></div><p>Remove also all unused <!-- raw HTML omitted -->rc files like cshrc, shrc, etc.</p> </code></pre></div><p>Remove also all unused <!-- raw HTML omitted -->rc files like cshrc, shrc, etc.</p>
<div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback"># rm .cshrc .shrc ... <div class="highlight"><pre style="color:#e5e5e5;background-color:#000;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-fallback" data-lang="fallback"># rm .cshrc .shrc ...
</code></pre></div><p>Create <code>.ssh</code> folder and fill <code>authorized_keys</code> file (optional).</p> </code></pre></div><p>Create <code>.ssh</code> folder and fill <code>authorized_keys</code> file (optional).</p>