Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v16] adding a reference to to the host user guide #46776

Merged
merged 1 commit into from
Sep 20, 2024
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
Loading