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.- Enter the command "sudo useradd -m <username>", where you can modify the username section individually.
- It is important that you use a lowercase "m" in the command so that a home directory is created for this user.
- Now you still need to unlock the account so that the new user can access their profile.
- To do this, enter "sudo passwd <username>" and replace the username accordingly.
- Now you can create a password for the corresponding profile.
- Following this, the user can use his profile if he has identified himself with his password.