News for hackers. Stuff that matters.
Re:Show HN: Lockdown.sh Simple shell script for locking down... by amarshall on Sunday May 24, 2020 @01:28PM (#23293063)
> useful for non-expert users who can just run the script.

Running random scripts one doesn’t understand as root has its potential problems, though. Non-experts should still audit what this script (or any script requiring elevated privileges) is doing and strive to understand it.

Re:Show HN: Lockdown.sh Simple shell script for locking down... by ivan_ah on Sunday May 24, 2020 @02:08PM (#23293319)
True that. After looking through the script in more details, I wouldn't recommend running without checking. I thought it was doing just basic ssh + firewall, but it does a lot more things, so probably better to run piecemeal even for non-experts.

Maybe this could be turned into some interactive script that explains a little (in beginner-friendly language) what each step does? It would be also nice to have a log of which steps were performed, and instructions for the undo-step in case users want to go back... wishlist.append( ^ ).