User Tools

Site Tools


usermanagement

This is an old revision of the document!


To set up a user on a Linux server, there are a few steps you will need to follow. Here is a general guide for doing so:

1. Open a terminal session on the server. Connect to a Server via SSH

2. Run the command sudo adduser <username> to create a new user. You will be prompted to enter a password and other information such as the full name and email address. adduser

3. Once the user has been created, run the command `sudo usermod -aG sudo <username>` to give the user sudo privileges. This allows the user to run commands as the root user.

4. Run the command `su - <username>` to log in as the new user.

5. The new user is now set up and can run commands on the server.

Note: This is a general guide and the exact steps may vary depending on the Linux distribution and server configuration. It is recommended to read the documentation of the distribution and tools being used to ensure that the user setup is performed correctly.

usermanagement.1671633692.txt.gz · Last modified: 2022/12/21 15:41 by dimitrij

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki