Remove redundant operations.
This commit is contained in:
parent
5d3d94ecd0
commit
b590e2bb5f
|
@ -121,16 +121,15 @@ When exec --apply and set-hardening-level are set to 5 (the highest level), you
|
|||
4) Set basic iptables rules
|
||||
Set the corresponding firewall rules according to the applications used. HardenedLinux community for Debian GNU/Linux firewall rules:
|
||||
[etc.iptables.rules.v4.sh](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/examples/configurations/etc.iptables.rules.v4.sh)
|
||||
|
||||
5) Use the passwd command to change the passwords of all users, and change the password to a secure and reliable password entry with the same password complexity set by the pam_cracklib module.
|
||||
|
||||
6) Set firewall basic rules for the OS, to do the following:
|
||||
to do the following:
|
||||
```
|
||||
$ sudo sudo bash docs/examples/configurations/etc.iptables.rules.v4.sh
|
||||
$ sudo bash docs/examples/configurations/etc.iptables.rules.v4.sh
|
||||
# iptables-save > /etc/iptables/rules.v4
|
||||
# ip6tables-save > /etc/iptables/rules.v6
|
||||
```
|
||||
|
||||
5) Use the passwd command to change the passwords of all users, and change the password to a secure and reliable password entry with the same password complexity set by the pam_cracklib module.
|
||||
|
||||
## Hacking
|
||||
|
||||
**Getting the source**
|
||||
|
|
Loading…
Reference in New Issue