uTools-Manuals/docs/linux/smbpasswd.html
2019-04-08 23:22:26 +08:00

17 lines
799 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="smbpasswd">smbpasswd</h1>
<p>samba用户和密码管理工具</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>smbpasswd命令</strong> 属于samba套件能够实现添加或删除samba用户和为用户修改密码。</p>
<h3 id="语法">语法</h3>
<pre><code>smbpasswd(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>-a向smbpasswd文件中添加用户
-c指定samba的配置文件
-x从smbpasswd文件中删除用户
-d在smbpasswd文件中禁用指定的用户
-e在smbpasswd文件中激活指定的用户
-n将指定的用户的密码置空。</code></pre>
<h3 id="参数">参数</h3>
<p>用户名指定要修改SMB密码的用户。</p>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->