r/linuxmint • u/sys-harden • 2d ago
Head up Mint users
For those that are new or thinking of switch to Linux and is concerned about securing their system. I present to you "Ultimate-sys-hardening". Built for hardening Servers and Home-Labs, but will also provide the same security for a regular person .
The task is automated so it takes less that no time to complete the process.
One command previews everything (--dry-run), the next applies it with backups, and --revert undoes it. It keeps SSH reachable: password and root login are only turned off when another account has a key, and the config is checked before sshd restarts.
Free and MIT, plain Bash, no telemetry.
Ai was used involved with the necessary testing



8
u/jr735 Linux Mint 22.1 Xia | IceWM 2d ago
If you're concerned about security, why are you trying to get what are more than likely users quite new to Linux to install things from Github?
https://wiki.debian.org/DontBreakDebian/
Following that to the letter will do a new user far more good than some tool of unknown origin.
Stick to repository software, folks.
13
u/Venylynn 2d ago
Why does the first screenshot look suspiciously like those AI generated scamware posts?
7
u/BenTrabetere 2d ago
... and no link. Sorry, but I do not see anything I want or need.
2
u/namepaladin 2d ago
I run my server on mint but it is only locally accessable (exception to wireguard). I see some interesting stuff so far. I'm just beginning my lookthrough and it if seems good to me I will install it. I appreciate the preview state addition
1
u/Lawnordah 1d ago edited 1d ago
I don't want to go through this entire thing for free but you should really find some computer science 101 or like OS internals education.
Password expiration is discouraged by modern NIST guidance unless compromise is suspected. People make MyPassword2025! and MyPassword2026! instead of using a better password. This is so thoroughly documented at this point.
umask 027 prevents group members from getting write permission on newly created files and directories by default. Shared groups are used to let multiple users (and services) collaborate without running everything as root or other elevated permissions. If Alice and Bob are both members of the "developer" group in /srv/project and Alice makes a config.yml then Bob can't write to it. That's like, the entire reason for using groups.
GCC root only? What are we doing? Even SecureBlue hardening makes more sense than this and that's saying a lot.
5
u/Sufficient_Risk_8127 2d ago
finally my linux is hard