summaryrefslogtreecommitdiff
path: root/setup-user.in
AgeCommit message (Collapse)Author
2022-06-28setup-user: exit with error if unlocking user failsNatanael Copa
fixes commit 60c9392b6419 (Add -u unlock command to setup-user)
2022-06-28Add -u unlock command to setup-userShaRose
Copied from github PR, but add -u so that you can include to forcably unlock the user after creation. Useful for when you want to create a user automatically so they can log in using a passed SSH key (-k), but without a password so they can set up a password after connecting.
2022-06-28setup-user: fix non-interactive handling of ssh keys urlMaxim Karasev
The script referenced the wrong variable.
2022-05-21setup-user: add magic keywords for fetching ssh keysNatanael Copa
Use al, gh, and gl as magic keywords to suggest url for shs key
2022-05-21setup-user: fix typoNatanael Copa
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: use 'none' as the default for nowNatanael Copa
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-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