Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| ubuntu1604:4:1:6 [2017/05/04 17:59] – [Audit] Piotr Kłoczewski | ubuntu1604:4:1:6 [2017/05/04 18:01] (current) – Piotr Kłoczewski | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| -w / | -w / | ||
| -w /etc/hosts -p wa -k system-locale | -w /etc/hosts -p wa -k system-locale | ||
| - | -w /etc/sysconfig/network -p wa -k system-locale | + | -w / |
| + | -w / | ||
| </ | </ | ||
| Line 28: | Line 29: | ||
| -a always,exit -F arch=b64 -S sethostname -S setdomainname -k system-locale | -a always,exit -F arch=b64 -S sethostname -S setdomainname -k system-locale | ||
| -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | ||
| - | -w /etc/issue -p wa -k system-locale -w / | + | -w /etc/issue -p wa -k system-locale |
| - | -w /etc/hosts -p wa -k system-locale -w / | + | -w / |
| - | -w /etc/sysconfig/ | + | -w /etc/hosts -p wa -k system-locale |
| + | -w / | ||
| + | -w /etc/networks | ||
| </ | </ | ||
| =====Remediation===== | =====Remediation===== | ||
| Line 36: | Line 39: | ||
| < | < | ||
| -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | ||
| - | -w /etc/issue -p wa -k system-locale -w / | + | -w /etc/issue -p wa -k system-locale |
| - | -w /etc/hosts -p wa -k system-locale -w / | + | -w / |
| + | -w /etc/hosts -p wa -k system-locale | ||
| + | -w / | ||
| -w / | -w / | ||
| </ | </ | ||
| Line 44: | Line 49: | ||
| -a always,exit -F arch=b64 -S sethostname -S setdomainname -k system-locale | -a always,exit -F arch=b64 -S sethostname -S setdomainname -k system-locale | ||
| -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | -a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale | ||
| - | -w /etc/issue -p wa -k system-locale -w / | + | -w /etc/issue -p wa -k system-locale |
| - | -w /etc/hosts -p wa -k system-locale -w / | + | -w / |
| + | -w /etc/hosts -p wa -k system-locale | ||
| + | -w / | ||
| -w / | -w / | ||
| </ | </ | ||