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
Get Node.js Port Using PM2 Name Read tip
Difference Between Apt and Apt-Get Read tip
Test CSS Selectors With DevTools Read tip