snipt

Ctrl+h for KB shortcuts

Bash

Create a new user

$ useradd -mU -p <password> <username>
https://snipt.net/embed/8bd9b2535e2780ae7d0d3a83de6e7b60/
/raw/8bd9b2535e2780ae7d0d3a83de6e7b60/
8bd9b2535e2780ae7d0d3a83de6e7b60
bash
Bash
1
2019-06-10T12:24:52
True
False
False
/api/public/snipt/26172/
create-a-new-user
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>$ useradd -mU -p &lt;password&gt; &lt;username&gt; </span></pre></div> </td></tr></table>
bash, linux, user