Sunday, February 5, 2023
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory
  • Login
  • Register
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
No Result
View All Result
Cloud7 News
No Result
View All Result

Home > How-Tos > How to add new users in Linux

How to add new users in Linux

Linux is a multi-user operating system, thus you can add additional users to it to use it concurrently.


Ezgi Koc Ezgi Koc
January 14, 2023
2 min read
how to add new users in linux

Linux is a multi-user operating system, allowing numerous users to use the same machine simultaneously. It is therefore the best option for companies and groups that must pool resources and work together on projects. If you would like to add more users to your machine, here is how to do it. This tutorial is made specifically for Ubuntu distribution. Please keep in mind that the options you add to the commands can change from distribution to distribution. The screenshots are taken on Ubuntu 22.10.


Table of Contents

  • Add a new user in Linux
    • Step 1: Ensure you have root privileges
    • Step 2: Add a new user
    • Step 3: Set a password for the user
    • Step 4: Fill in the details of the user
    • Step 5: Log out and check the new user
  • Watch how to add users in Linux

Add a new user in Linux

Step 1: Ensure you have root privileges

You should be aware that only root users can add other users to the system. To get root access on a Linux operating system, enter the command:

sudo su

Step 2: Add a new user

To add a new user account to your system, you will need to use the adduser command.

adduser username

Your terminal will become # and after entering your password, this should give you root privileges on operations that are done in the terminal window.

The command “adduser” must be followed by the user’s name in order to add or create a new user, for example:

useradd cloud7news

This command would initiate the process of adding the user “cloud7news” to the system but there are more steps to it.

Step 3: Set a password for the user

To complete adding a user to the system, you will also have to set a password for the user. After entering the commands above, your terminal should look like this:

Step 4: Fill in the details of the user

After setting the password you wish for this user to have, the terminal will ask you for some details about the user. Set the full name, phone numbers, or other to complete creating a new user.

Step 5: Log out and check the new user

Now, exit the terminal and log out to see whether the new user is present on the login screen or not.

A new user was added successfully.

Watch how to add users in Linux

Here is a snippet showing the process step by step:

https://cloud7.news/wp-content/uploads/2023/01/steps.mp4
Tags: Linux
Ezgi Koc

Ezgi Koc

Ezgi Koc is an editor at Cloud7 News. She graduated from Ege University with a bachelor's degree in English Language and Literature. She had a great interest in technology, both hardware and software, since her childhood and decided to pursue a career that would enable her to broaden her horizons in this field. She is very passionate about video games as a Twitch affiliate and streams games in her free time.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I agree to the Terms & Conditions and Privacy Policy.

Next Post
What is a DPU?

What is a DPU?

Related News

How to enable UEFI in VMware Workstation

How to enable UEFI in VMware Workstation

February 4, 2023 10:00 am
How to connect the VM to the local network on VirtualBox

How to connect VirtualBox to local network

January 28, 2023 4:06 pm
How to connect to the local network on VMware Workstation

How to connect VMware Workstation to local network

January 28, 2023 1:00 pm
How to install a Linux Distro on VMware Workstation

How to install a Linux Distro on VMware Workstation

January 21, 2023 4:35 pm
Get free daily newsletters from Cloud7 News Get the Cloud7 Newsletter
Select list(s):

Check your inbox or spam folder to confirm your subscription.

By subscribing, you agree to our
Copyright Policy and Privacy Policy

Get the free newsletter

Subscribe to receive the latest IT business updates straight to your inbox.

Select list(s):

Check your inbox or spam folder to confirm your subscription.

Editor's Choice

What’s new in Linux kernel 6.2 rc6?

10 Best Web Hosting Services of 2023

Ubuntu 22.04 LTS is available for download. What is new?

CERN and Fermilab recommend AlmaLinux

7 best hosting control panels of 2023

How to update Linux Kernel without rebooting?

7 best Linux mail servers of 2023

7 best cPanel alternatives for 2023

7 best Linux web browsers for 2023

7 best CentOS alternatives

7 best Linux server distros of 2023

Interview with Igor Seletskiy on AlmaLinux

How to create a VM on VMware Workstation

Recent News

  • Weekly round-up: 30 January – 3 February
  • What is Deep Learning?
  • What is GitHub Copilot?
  • Cloud7 Expert Series: Dennis Kittrell from CloudLinux
  • Best Ubuntu alternatives for desktop of 2023

Cloud7 News
Cloud7 is a news source that publishes the latest news, reviews, comparisons, opinions, and exclusive interviews to help tech users of high-experience levels in the IT industry.

EXPLORE

  • Web Hosting
  • Cloud Computing
  • Data Center
  • Cybersecurity
  • Linux
  • Network/Internet
  • Software
  • Hardware
  • How-Tos
  • Troubleshooting

RESOURCES

  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

Get the Cloud7 Newsletter

Get FREE daily newsletters from Cloud7 delivering the latest news and reviews.

  • About
  • Privacy & Policy
  • Copyright Policy
  • Contact

© 2023, Cloud7 News. All rights reserved.

No Result
View All Result
  • Cloud Computing
  • Web Hosting
  • Data Center
  • Linux
  • Cybersecurity
  • More
    • Network/Internet
    • Windows
    • Software
    • Hardware
    • Blockchain
    • Policy/Legislation
    • How-Tos
    • Troubleshooting
  • Events
  • Interviews
  • Jobs
  • Opinion
  • Whitepapers
  • Glossary
  • Community Forum
  • Web Hosting Directory

© 2023, Cloud7 News. All rights reserved.

Welcome Back!

Sign In with Facebook
Sign In with Google
Sign In with Linked In
OR

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Sign Up with Facebook
Sign Up with Google
Sign Up with Linked In
OR

Fill the forms below to register

*By registering into our website, you agree to the Terms & Conditions and Privacy Policy.
All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.