mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-05 03:33:24 +08:00
* 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>
10 lines
401 B
Plaintext
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
|
|
```
|