How to Create a New User with Sudo Privileges Linux – No More Root Rage! BONUS - how to delete User.

Опубликовано: 22 Март 2026
на канале: Deividas Strole
50
2

Tired of logging in as root and living on the edge? 😱 In this tutorial, Deividas Strole shows you how to create a new user on your AlmaLinux VPS and grant them sudo privileges—so they can manage the server safely and responsibly.

🎯 What You'll Learn:
How to create a new Linux user
Assign a password for the new user
Add the user to the sudo (wheel) group
Verify sudo access and test commands safely
Best practices for multi-user server management

🛠️ Step-by-Step Commands:
Create a new user: `sudo adduser username`
Set a password: `sudo passwd username`
Add user to sudo/wheel group: `sudo usermod -aG wheel username`
Test sudo privileges: `sudo whoami` (should return "root")

💡 Perfect For:
Linux beginners securing their VPS
System administrators managing multiple users
DevOps enthusiasts managing cloud servers safely
Anyone wanting to avoid always using root

🎥 Created by Deividas Strole

🔗 Connect & Learn More with Deividas Strole:
Website: https://deividasstrole.com
LinkedIn:   / deividas-strole  
GitHub: https://github.com/deividas-strole
Dev.to: https://dev.to/deividas-strole
Medium:   / deividas-strole  
X (Twitter): https://x.com/deividasstrole

👍 Like this video if it helped you set up a secure user!
💬 Comment below with your Linux user questions or tips
🔔 Subscribe for more Linux, VPS, and server management tutorials

#DeividasStrole #Linux #AlmaLinux #VPS #SudoUser #ServerManagement #LinuxTutorial #DevOps #TechTutorial #Programming