HOME > Linux > Creating Users Under Linux - How To Do It

Creating users under Linux - how to do it

Do you share a PC privately or professionally? Then you should ensure that each person has their own user available under Linux, so that the potential for conflict is reduced. In addition, the settings can be adjusted to accommodate individual preferences.

Manage users under Linux

You can create different user accounts under Linux and thereby manage the users who have access to the corresponding device. We will show you how to perform this operation using console commands, since this variant works for most Linux operating systems.
  1. Enter the command "sudo useradd -m <username>", where you can modify the username section individually.
  2. It is important that you use a lowercase "m" in the command so that a home directory is created for this user.
  3. Now you still need to unlock the account so that the new user can access their profile.
  4. To do this, enter "sudo passwd <username>" and replace the username accordingly.
  5. Now you can create a password for the corresponding profile.
  6. Following this, the user can use his profile if he has identified himself with his password.

The right settings

You can customize the new profiles and assign them specific rights. This allows you to take into account who is using Linux at that moment. This includes setting up a user only for a certain period of time and having them remove themselves when it expires. This saves you time and you don't have to think about it.

By Sharia

Using AirPods with Apple TV: How to do it :: How to delete your Google Chrome passwords
USEFUL LINKS