Age | Commit message (Collapse) | Author |
|
Skip user creation if username is 'none' and no other options are set.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10528
|
|
Follow up to the follow up (87e374fd, a91180af).
Commit dfd40992 also affects ~/.ssh, so test its permissions too.
|
|
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow
openssh permission recommendations)
|
|
Make sure we dont loop forever if adduser fails to create the user.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
|
|
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
|
|
|
|
apparently atf_check can not run in a subshell so we can not pipe the
input. Use a temp file for the answers instead
|
|
when -a is specified, doas gets installed and configured and username is
added to wheels group for doas privileges
|
|
The username is shorter than full name so ask for that first and suggest
the username as fullname which will make the username show up in login
menu instead of 'Linux User'.
If -f FULLNAME is specified, then give a decent default suggestion based
on first letter in first name and lastname.
|
|
|
|
use first char in first name and all last name, in lower case as
suggested user name.
|
|
|
|
|
|
|