Skip to content

Option d is ambiguous (debug, disabled-login, disabled-password)#10

Open
zaoqi wants to merge 2 commits intoheroku:masterfrom
zaoqi-clone:patch-1
Open

Option d is ambiguous (debug, disabled-login, disabled-password)#10
zaoqi wants to merge 2 commits intoheroku:masterfrom
zaoqi-clone:patch-1

Conversation

@zaoqi
Copy link
Copy Markdown

@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
Copy Markdown
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