I’ve got a Teleport cluster setup with the Teleport service set to run as a non-root user called teleport on each machine.
The service runs normally for the auth and proxy machines, however, on the node machine, if I were to run the Teleport service as the teleport user above, I would get
fork/exec /bin/bash: Operation not permitted whenever I open a session. Running the Teleport service as root solves this issue.
My Teleport node machine’s systemd service file:
[Unit] Description=Teleport SSH service After=network.target [Service] Type=simple Restart=on-failure User=teleport Group=teleport ExecStart=/usr/local/bin/teleport start --roles=node --config=/etc/teleport.yml --pid-file=/var/lib/teleport/teleport.pid ExecReload=/bin/kill -HUP $MAINPID PIDFile=/var/lib/teleport/teleport.pid [Install] WantedBy=multi-user.target
Any help and/or pointers are appreciated – thanks!