Files
teleport/docs/pages/includes/machine-id/machine-id-init-bot-data.mdx
T
Steven MartinandNoah Stride 80fd08f999 Add docs steps to create machine-id data dir and systemd enablement (#22463)
* Add steps to create machine-id data dir and systemd enablement

* verbiage update

Co-authored-by: Noah Stride <noah.stride@goteleport.com>

* Change daemon-reload to enable for systemctl

---------

Co-authored-by: Noah Stride <noah.stride@goteleport.com>
2023-03-01 15:36:16 +00:00

10 lines
401 B
Plaintext

Create the bot data directory and grant permissions to access it to the Linux user (in our example, `teleport`) which `tbot` will run as.
```code
# Make the bot directory and assign ownership to teleport user
$ sudo mkdir -p /var/lib/teleport/bot
$ sudo chown teleport:teleport /var/lib/teleport/bot
# Allow teleport user to open directory
$ sudo chmod +x /var/lib/teleport /var/lib/teleport/bot
```