Skip to content

Secure Your VPS: Use Non-Root User

View on Twitter

💡 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.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
What Does This Bash Command Do? Read tip
List Globally Installed NPM Libraries Read tip
HTTP Service Backend for Fast Prototyping Read tip