You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests. 891B

sysadmins Cookbook

Creates sysadmin accounts: accounts that can access the server over SSH.



Key Type Description Default
['sysadmins'] Hash key: username empty, won't create sysadmins


Add sysadmins to your node configuration:

"sysadmins": {
  "bofh": {
    "password": "$1$d...HgH0",
    "ssh_keys": [
      "ssh-rsa foo",
      "ssh-rsa AAA456...uvw== bar"
  • Create a hashed password with openssl passwd -1 'plaintextpassword'. This password is needed for running sudo.
  • SSH-keys should be the public key. You can leave them out, in which case you have to log in with the password.