How to Add and Delete Users

Adding and removing users on a Linux system is an essential system administration task. As an unprivileged user, you can still acquire administrator privileges when you need them through a mechanism called sudo. In this tutorial, you’ll learn how to create user accounts, assign sudo privileges, and delete users. Choose your Linux distribution to begin.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.