Security work blends visibility and control. sshd -T prints effective SSH daemon settings—compare with disk files after includes. sysctl reads kernel tunables like IP forwarding and rp_filter. Integrity tools (aide, rpm -V, debsums) detect changed binaries. last and lastb show logins; faillock surfaces lockouts on PAM systems. Pair with firewall review from nft list ruleset.
| Area | Command | Insight |
|---|---|---|
| SSH | sshd -T | grep -i permit | Confirm root login and password policy |
| Kernel | sysctl -a | grep forward | Spot unintended routing |
| Auth | last -ai | See remote IPs and times |
Related
SSH commands, firewall commands, sudo, users and permissions