Accounts
is Mio's internal module to manage user accounts.
Links#
- Docs: https://docs.kosmonum.space/mio/module/accounts/
- Issues: https://codeberg.org/kosmonum/mio-ose/issues
- Source: https://codeberg.org/kosmonum/mio-ose/src/branch/master/accounts/
- License: BSD-2-Clause
Notes#
- Use ED25519 KEYS!
Usage#
Create accounts and grant ssh usage
mkdir -p conf/accounts/files[-INSTANCE]/home/<ME>/.ssh
cat <ME>_ed25519.pub >> conf/accounts/files[-INSTANCE]/home/<ME>/.ssh/authorized_keys
Grant ROOT Login#
mkdir -p conf/accounts/files[-INSTANCE]/root/.ssh
cat <ME>_ed25519.pub >> conf/accounts/files[-INSTANCE]/root/.ssh/authorized_keys
Config Files#
| Name | Default | Type | Description |
|---|---|---|---|
LOGIN_SHELL | TODO | /\/usr\/bin\/.+/ | account login shell |
SECONDARY_GROUPS | TODO | /[a-z_,-]\*/ | membership; comma separated |
Use#
TODO
- remove comments from ssh keys on install
- FILE ./gpg-login
- DIR ./home/
- DIR ./root
- move keys to AuthorizedKeysFile /etc/ssh/authorized_keys/%u
