Skip to main content
Support
0
Contact us
Nederlands
Deutsch
Español
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareers
Cloud Compute

With Cloud Compute, you have access anytime and anywhere to a portal through which you can configure your entire IT environment from wherever you are in the world.

Cloud Storage

Reliable access to your files, infrastructure, and applications at all times – with no interruptions or delays. At Worldstream, we offer a variety of storage solutions.

Flexible cloud icon
Flexible cloud
Private cloud icon
Private cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Object storage
Hollow cube icon
File storage
Block storage icon
Block storage
Backup storage icon
Backup storage
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

All Servers

Choose your Dedicated Server now. Custom or Instant Delivery. Powerhouse servers built for your use case.

Use Cases

Whatever your use case, we’re here to help you find the ideal solution.

Deal servers icon
Deals
AMD servers icon
AMD Processors
AI servers icon
Intel Processors
Hollow cube icon
Virtualisation, Containerisation and Orchestration
Hollow cube icon
Websites and Applications
Hollow cube icon
Gaming and Streaming Infrastructure

24/7/365 support with an average response time of just 7 minutes. Thanks to our own data centers, our engineers can go directly to your server for fast, hands-on assistance. Email or call us anytime.

Smart outsourcing

Some IT creates added value, while other types are supportive. Use that as a starting point for outsourcing.

Cost Efficiency

Complete IT packages may seem like the safe option, but when you consider the costs, other choices often make more sense.

IT flexibility & control

Outsourcing doesn’t mean losing control; it actually provides more flexibility and control.

Cloud repatriation

The cloud is not a final destination: You should continuously evaluate and adjust your cloud environment as needs evolve.

Financial services
Logistics & Transportation
Retail & E-commerce
Media & Entertainment
Tech & Software Development
Security
Managed Service Providers
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

Chat with usContact us
About WorldstreamAbout the technologyCasesKnowledge base
About usMeet the teamJobsBecome a resellerCertificationsOur data centersOur networkDDoS ProtectionAMD EPYC serversTechnology PartnersOperating SystemsAll casesEasyTerraDutch Drone CompanyPerfGridArticlesFAQNews and BlogsProducts and Services
Contact us

Call +31 (0) 174 – 712 117

Industriestraat 53, Naaldwijk

Nederlands
Deutsch
Español
0
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareersAbout WorldstreamAbout the technologyCasesKnowledge baseMy Worldstream
Contact
Support
NederlandsDeutschEspañol
  1. HomeHome
  2. Knowledge Base
  3. Linux
  4. How to add or remove a user on your Linux server

How to add or remove a user on your Linux server

Applies to Dedicated servers, Flexible VPS (Linux)Audience Server administratorsLast reviewed September 2026

Quick answer

Add a user with adduser username, add them to the sudo group with usermod -aG sudo username (Debian-based) or usermod -aG wheel username (Red Hat-based), and remove one with userdel -r username.

The commands for managing users are largely the same across distributions, with two small differences. On Red Hat-based systems (AlmaLinux, Rocky Linux, RHEL), adduser doesn't prompt you for a password, so you set one separately. On Debian-based systems (Debian, Ubuntu), adduser prompts for a password and some optional personal details as part of the same command.

Add a user

1

Create the account

This example creates a user called worldstream:

sudo adduser worldstream
2

Set a password (Red Hat-based systems)

On Red Hat-based distributions you aren't prompted for a password automatically, so set one with:

sudo passwd worldstream

Add or remove a user from the sudo group

On Debian-based systems, add a user to the sudo group with:

sudo usermod -aG sudo worldstream

On Red Hat-based systems, the equivalent group is wheel:

sudo usermod -aG wheel worldstream

To remove a user from the sudo group on a Debian-based system:

sudo gpasswd -d worldstream sudo

To remove a user from the wheel group on a Red Hat-based system:

sudo gpasswd -d worldstream wheel

Remove a user

To remove a user account:

sudo userdel worldstream

This leaves the user's home directory in place. To remove the home directory and mail spool along with the account, add the -r option:

sudo userdel -r worldstream

Commands can vary slightly between distributions and versions, so check the man page for your system if a command above doesn't behave as expected. If you run into trouble managing users on your server, contact support.

Related articles

  • Creating an SSH key pair
  • How to improve your SSH security
  • Mounting a disk in Linux
Was this article helpful?

Solid IT. No Surprises

Sparring partner for IT maturity
Eliminating barriers so you can run
Predictable and transparant costs

Contact

  • Industriestraat 53, Naaldwijk
  • Payment Methods
  • Abuse
  • Developers Resources
  • Network Operations Center
  • About us
  • Meet the team
  • Jobs
  • Become a reseller
  • Certifications
  • Our data centers
  • Our network
  • DDoS Protection
  • AMD EPYC servers
  • Technology Partners
  • Operating Systems
  • Overview
  • FAQ
  • Cases
  • News & Blogs
  • Use Cases
Nederlands
Deutsch
Español
Nederlands
Deutsch
Español
  • Legal
  • Disclosure