bundlewrap/bundles/users
Franzi 908a6420b3
bundles/users: set cascade_skip=False if user has a password set
2022-02-25 15:05:05 +01:00
..
files bundles/users: unset PROMPT_COMMAND 2022-02-25 15:04:49 +01:00
README.md cp over all the bundles from kunsis bw repo 2021-12-21 15:56:24 +01:00
items.py bundles/users: set cascade_skip=False if user has a password set 2022-02-25 15:05:05 +01:00
metadata.py bundles/basic: install kitty-terminfo instead of manually deploying a terminfo file 2022-02-25 15:04:15 +01:00

README.md

bundles/users

This bundle evaluates node metadata to determine which users should exist on the system. It will also create a home directory, add ssh keys and deploy shell configs, if user-specific configuration exists.

metadata

'users': {
    'username': {
        'home': '/home/username', # this is the default
        'shell': '/bin/bash', # this is the default
        'groups': {
            # list of groups the user should be in
        },
        'ssh_pubkey': [
            # list of ssh pubkeys that are allowed to log in
        ],
    },
}

custom shell config

Deploy your custom config to these paths:

  • data/users/files/tmux/username.conf
  • data/users/files/fish/username.conf
  • data/users/files/bash/username.bashrc