Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ spec:
options:
# Allow automatic creation of users.
create_host_user_mode: keep
create_host_user_default_shell: /bin/bash
allow:
logins: [ "nginxrestarter" ]
# List of host groups the created user will be added to. Any that don't already exist are created.
Expand All @@ -103,7 +104,9 @@ The `create_host_user_mode` field enables host user creation when the value is
the `app:nginx` label, the Teleport SSH Service creates a host user, adds it to
the groups listed in `host_groups`, and gives it the sudoer permissions
specified in the `host_sudoers` field. In this case, the new user receives
permission to restart the Nginx service as root.
permission to restart the Nginx service as root. The default shell for a created
user can be configured with `create_host_user_default_shell`. Otherwise the
host's default shell will be used.

{/*TODO (ptgott): We should move the information below into a reference guide*/}
<Details title="Customizing host user creation">
Expand Down