uTools-Manuals/docs/linux/grpunconv.html
2019-04-21 11:50:48 +08:00

18 lines
871 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="grpunconv">grpunconv</h1>
<p>用来关闭群组的投影密码</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>grpunconv命令</strong> 用来关闭群组的投影密码。它会把密码从gshadow文件内回存到group文件里。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">grpunconv</code></pre>
<h3 id="实例">实例</h3>
<p>未关闭的情况</p>
<pre><code class="language-bash">cat /etc/gshadow | grep cdy
cdy:123456::</code></pre>
<p>关闭影子密码</p>
<pre><code class="language-bash">cat /etc/gshadow
cat: /etc/gshadow: 没有那个文件或目录</code></pre>
<p>查看密码已经复制到<code>/etc/group</code>中了。</p>
<pre><code class="language-bash">cat /etc/group | grep cdy
cdy:123456:1000:</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->