Difference between revisions of "Adduser"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
  Create new user, or add USER to GROUP
 
  Create new user, or add USER to GROUP
 
   
 
   
-h DIR Home directory
+
-h DIR Home directory
-g GECOS GECOS field
+
-g GECOS GECOS field
-s SHELL Login shell
+
-s SHELL Login shell
-G GRP Group
+
-G GRP Group
-S Create a system user
+
-S Create a system user
-D Don't assign a password
+
-D Don't assign a password
-H Don't create home directory
+
-H Don't create home directory
-u UID User id
+
-u UID User id
-k SKEL Skeleton directory (/etc/skel)
+
-k SKEL Skeleton directory (/etc/skel)
  
  

Revision as of 09:02, 12 October 2020

adduser (BusyBox)


adduser
BusyBox v1.28.4 (2020-10-07 19:11:37 +04) multi-call binary.

Usage: adduser [OPTIONS] USER [GROUP]

Create new user, or add USER to GROUP

	-h DIR		Home directory
	-g GECOS	GECOS field
	-s SHELL	Login shell
	-G GRP		Group
	-S		Create a system user
	-D		Don't assign a password
	-H		Don't create home directory
	-u UID		User id
	-k SKEL		Skeleton directory (/etc/skel)


See also

Advertising: