Skip to content

Conversation

@zaoqi
Copy link

@zaoqi zaoqi commented Jul 28, 2019

Ubuntu:

Step 7/9 : RUN adduser -D myuser
 ---> Running in 8083bab9a163
Option d is ambiguous (debug, disabled-login, disabled-password)

Alpinelinux:

/ # adduser --help
BusyBox v1.30.1 (2019-06-12 17:51:55 UTC) 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)

so -D is Don't assign a password

fix #6

Archlinux:
```
Step 7/9 : RUN adduser -D myuser
 ---> Running in 8083bab9a163
Option d is ambiguous (debug, disabled-login, disabled-password)
```
@zaoqi
Copy link
Author

zaoqi commented Jul 28, 2019

#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adduser -D is ambiguous

1 participant