summaryrefslogtreecommitdiff
path: root/tests/setup_user_test
AgeCommit message (Collapse)Author
2022-06-28tests: add test for setup-user -uNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/72
2022-06-28tests: setup-user: add test for -k optNatanael Copa
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/70
2022-05-23tests: setup-user: add test for suggested ssh key urlNatanael Copa
2022-05-21tests: fix interactive testNatanael Copa
apparently atf_check can not run in a subshell so we can not pipe the input. Use a temp file for the answers instead
2022-05-20setup-user: add -a option to create admin userNatanael Copa
when -a is specified, doas gets installed and configured and username is added to wheels group for doas privileges
2022-05-20setup-user: refactor. ask for username firstNatanael Copa
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.
2022-05-19tests: add test for setup-user with a single nameNatanael Copa
2022-05-19setup-user: suggest a usernameNatanael Copa
use first char in first name and all last name, in lower case as suggested user name.
2022-05-19setup-user: add -g option to specify groupsNatanael Copa
2022-05-19setup-user: prompt user for ssh keyNatanael Copa
2022-05-19setup-user: new setup scriptNatanael Copa