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

11 lines
1.1 KiB
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="ftpshut">ftpshut</h1>
<p>在指定的时间关闭FTP服务器</p>
<h2 id="补充说明">补充说明</h2>
<p>功能说明在指定的时间关闭ftp服务器。本指令提供系统管理者在设置的时间关闭FTP服务器且能在关闭之前发出警告信息通知用户。关闭时间若设置后为“none”则会马上关闭服务器。如果采 用“+30”的方式来设置表示服务器在30分钟之后关闭。依次类推假设使用“1130”的格式则代表服务器会在每日的11时30分关闭时间格式为24 小时制。FTP服务器关闭后在/etc目录下会产生一个名称为shutmsg的文件把它删除后即可再度启动FTP服务器的功能。</p>
<p>语法:</p>
<pre><code class="language-bash">ftpshut [-d&lt;分钟&gt;][-l&lt;分钟&gt;][关闭时间][&quot;警告信息&quot;]</code></pre>
<p>参数:</p>
<pre><code class="language-bash">-d&lt;分钟&gt; 切断所有FTP连线时间。
-l&lt;分钟&gt; 停止接受FTP登入的时间。</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->