servermanagement:usermanagement
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| servermanagement:usermanagement [2022/12/23 10:08] – dimitrij | servermanagement:usermanagement [2022/12/23 10:44] (current) – [usermod] dimitrij | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Usermanagement ====== | ====== Usermanagement ====== | ||
| - | |||
| 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: | 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. [[ssh_connection|Connect to a Server via SSH]] | + | 1. Open a terminal session on the server. [[ssh|Connect to a Server via SSH]] |
| - | 2. Run the command '' | + | 2. Run the command '' |
| - | 3. Once the user has been created, run the command '' | + | 3. Once the user has been created, run the command '' |
| 4. Run the command '' | 4. Run the command '' | ||
| Line 16: | Line 15: | ||
| 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. | 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. | ||
| + | ===== Commands ===== | ||
| - | ====== adduser | + | Here are more details on the commands used above, to give you more options on the different steps and more freedome in the way of you configuration. |
| + | |||
| + | |||
| + | ==== adduser ==== | ||
| The '' | The '' | ||
| Line 36: | Line 39: | ||
| For a complete list of options, you can run the '' | For a complete list of options, you can run the '' | ||
| + | |||
| + | ==== usermod ==== | ||
| + | |||
| + | The usermod command is used to modify user accounts in Linux. It is typically used to change user account attributes, such as the user's login name, password, or group membership. Here is an overview of some of the most useful options for the usermod command, along with their syntax: | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | I hope this information is helpful! Let me know if you have any questions or need further clarification on any of the options. | ||
servermanagement/usermanagement.1671786528.txt.gz · Last modified: 2022/12/23 10:08 by dimitrij