@@ -20,14 +20,22 @@
3. 添加IP访问拦截
- ```
+ ```shell
iptables -I INPUT -s 172.16.0.246 -j DROP
```
4. 解除IP访问拦截
iptables -D INPUT -s 172.16.0.246 -j DROP
-5.
+5. 添加日志查看用户
+
+ useradd -m log_watcher -d /data/log -s /bin/bash
+ passwd log_watcher
+ wisdomcity@log
+ ```