Fix incorrect command line argument for fail2ban_banned_db.

This commit is contained in:
Zhang Huangbin 2020-05-06 21:18:08 +08:00
parent ade432e365
commit 71f8724c24
2 changed files with 2 additions and 2 deletions

View File

@ -324,7 +324,7 @@ mysql fail2ban -e "UPDATE banned SET remove=1 WHERE ip='1.1.1.2'"
Run script `/usr/local/bin/fail2ban_banned_db` with argument `unban_db` as `root` user:
```
/usr/local/bin/fail2ban_banned_db unbandb
/usr/local/bin/fail2ban_banned_db unban_db
```
Again, query SQL table `fail2ban.banned` as `root` user, you should see the IP

View File

@ -315,7 +315,7 @@ simulate the unban triggered by iRedAdmin-Pro:</p>
</code></pre>
<p>Run script <code>/usr/local/bin/fail2ban_banned_db</code> with argument <code>unban_db</code> as <code>root</code> user:</p>
<pre><code>/usr/local/bin/fail2ban_banned_db unbandb
<pre><code>/usr/local/bin/fail2ban_banned_db unban_db
</code></pre>
<p>Again, query SQL table <code>fail2ban.banned</code> as <code>root</code> user, you should see the IP