mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 15:04:05 +08:00
11 lines
1.1 KiB
HTML
11 lines
1.1 KiB
HTML
<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<分钟>][-l<分钟>][关闭时间]["警告信息"]</code></pre>
|
||
<p>参数:</p>
|
||
<pre><code class="language-bash">-d<分钟> 切断所有FTP连线时间。
|
||
-l<分钟> 停止接受FTP登入的时间。</code></pre>
|
||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|