mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-03 21:27:36 +03:00
Generate documentation
This commit is contained in:
parent
2f19d52774
commit
23364537c5
1 changed files with 4 additions and 0 deletions
|
@ -369,6 +369,10 @@ file.</p>
|
|||
<section class="level5" id="the-secure-way">
|
||||
<h5>The secure way <a class="headerlink" href="#the-secure-way">¶</a></h5>
|
||||
<p>The <code>users</code> file can be created and managed with <a href="https://httpd.apache.org/docs/current/programs/htpasswd.html">htpasswd</a>:</p>
|
||||
<p>Note: some OS contain unpatched <code>htpasswd</code> (< 2.4.59)
|
||||
without supporting SHA-256 or SHA-512 (e.g. Ubuntu LTS 22), in this case
|
||||
use '-B' for "bcrypt" hash method or stay with insecure MD5 (default) or
|
||||
SHA-1 ('-s').</p>
|
||||
<div class="sourceCode" id="cb5"><pre class="sourceCode bash"><code class="sourceCode bash"><span id="cb5-1"><a aria-hidden="true" href="#cb5-1" tabindex="-1"></a><span class="co"># Create a new htpasswd file with the user "user1" using SHA-512 as hash method</span></span>
|
||||
<span id="cb5-2"><a aria-hidden="true" href="#cb5-2" tabindex="-1"></a><span class="ex">$</span> htpasswd <span class="at">-5</span> <span class="at">-c</span> /path/to/users user1</span>
|
||||
<span id="cb5-3"><a aria-hidden="true" href="#cb5-3" tabindex="-1"></a><span class="ex">New</span> password:</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue