User Tools

Site Tools


adduser

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

adduser [2022/12/21 15:58] – created dimitrijadduser [2022/12/23 10:08] (current) – removed dimitrij
Line 1: Line 1:
-====== adduser ====== 
  
-The ''adduser'' command has a number of options that you can use to specify additional information or behavior when creating a new user. Here is a list of some of the most commonly used options: 
- 
-**all options need a double dash in front of them** 
- 
-  * ''system'': This option specifies that the user being created is a system user, which means that the user will not be able to log in to the system. 
- 
-  * ''shell'': This option allows you to specify the shell that will be used as the default for the new user. By default, the ''/bin/bash'' shell is used, but you can specify a different shell if desired. 
- 
-  * ''home'': This option allows you to specify the home directory for the new user. By default, the home directory will be ''/home/<username>'', but you can specify a different location if desired. 
- 
-  * ''expiredate'': This option allows you to specify an expiration date for the user's account. Once the specified date is reached, the user will no longer be able to log in to the system. 
- 
-  * ''disabled-password'': This option allows you to create a user account with a disabled password. This can be useful if you want to create a user account that can be used for certain tasks, but that cannot be used to log in to the system.  
- 
-These are just a few examples of the options that are available with the ''adduser'' command. 
- 
-For a complete list of options, you can run the ''man adduser'' command to get man page for a full documentation 
adduser.1671634708.txt.gz · Last modified: 2022/12/21 15:58 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