News for hackers. Stuff that matters.
Re:The Reluctant Sysadmin's Guide to Securing a Linux Server by yjftsjthsd-h on Sunday July 30, 2023 @05:20PM (#36936106)
> the only thing that locking the root account gets you is assurance that if you ever bork the user you created in this guide (or sudo functionality as a whole) you'll have no way to recover without booting into another environment.

As opposed to borking the root user and being equally locked out? Assuming your sudo config is a "configure it once and then leave it forever" deal - which seems common IME - I can't see any way it would be different.

(Mind, this cuts both ways - once you force only key-based SSH, I generally don't see a problem with direct root access either.)

Re:The Reluctant Sysadmin's Guide to Securing a Linux Server by vbezhenar on Sunday July 30, 2023 @06:07PM (#36936496)
Just don't set root:toor and you'll be alright. Keys are good, but passwords are good as well.