seawall host fix
Fix what the Security tab's Hardening rows find, as root through sudo.
Usage
seawall host fix [OPTIONS] <COMMAND>
Commands
| Command | Description |
|---|---|
sysctl | Set the kernel settings CIS asks for that are off, in seawall's own sysctl.d file |
perms | Make the system files CIS finds loose root's, their modes tightened to CIS's |
packages | Finish a dpkg run left half done, and reinstall packages whose files changed |
apparmor | Load AppArmor's profiles where it's on and enforces none |
sshd | Set the ssh settings CIS asks for that let in a password, root or rhosts |
lock | Lock an account's empty password (passwd -l); a key it has still logs in |
expire | End an account no one uses (usermod --expiredate 1); its keys stop working too |