Skip to content
Maxim Orlov Logo

Helping Node.js developers write robust applications 🚀

Secure Your VPS: Use Non-Root User

💡 Root user in Linux has unrestricted access to a system. When compromised, an attacker gains complete control of the server.

👉🏼 It's best practice to use a non-root user and disable root login. Set PermitRootLogin to "no" in /etc/ssh/sshd_config.

Set PermitRootLogin to no in /etc/ssh/sshd_config to disable root login.
A preview of the VPS Security Cheatsheet.

Download the VPS Security Cheatsheet

No spam! 🙅🏻‍♀️ Unsubscribe at any time.