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.
Daniel Gröber 5d86df1230
Add zone enrollment instructions to README
1 year ago
..
README Add zone enrollment instructions to README 1 year ago
incrontab Initial commit 2 years ago
knot-gpgv-import server: Fix gpgv script 1 year ago
zone-admin.sshd_config Initial commit 2 years ago
zone-admin.sudoers Initial commit 2 years ago

README

Server side setup
-----------------

As root:

    $ apt-get install incron
    $ echo <the user on the server>  > /etc/incron.allow
    $ cp zone-admin.sshd_config /etc/ssh/sshd_config.d/zone-admin.conf
    $ cp zone-admin.sudoers /etc/sudoers.d/zone-admin

As the user:

    $ sed 's/$USER/<the user on the server>/g' ./incrontab | incrontab -
    # install knot-gpgv-import into ~/
    $ mkdir zones/

    # Paste your gpg public key + Ctrl-D
    $ gpg --no-default-keyring --keyring $HOME/trustedkeys.kbx -a --import


Enrolling a new zone on server
------------------------------

    $ touch /var/lib/knot/$ZONE.zone
    $ chown root:zone-admin /var/lib/knot/$ZONE.zone
    $ chmod 775 /var/lib/knot/$ZONE.zone