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
Rename Default Branch on Github Read tip
IaaS vs PaaS Explained Using a Store Analogy Read tip
Debug Requests Using a Mirror API Read tip