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

Extend Host User Creation to support a static set of users #42712

Closed
rosstimothy opened this issue Jun 10, 2024 · 2 comments
Closed

Extend Host User Creation to support a static set of users #42712

rosstimothy opened this issue Jun 10, 2024 · 2 comments
Assignees
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements server-access

Comments

@rosstimothy
Copy link
Contributor

What would you like Teleport to do?

Support creating out of band users with pre-set UID, GID and sudo entitlements.

What problem does this solve?

Host user creation is lazy and only creates users at time of login. There are some use cases which require that a static set of predefined users always exist.

@rosstimothy rosstimothy added feature-request Used for new features in Teleport, improvements to current should be #enhancements server-access labels Jun 10, 2024
@rosstimothy
Copy link
Contributor Author

rosstimothy commented Jul 31, 2024

@rosstimothy
Copy link
Contributor Author

rosstimothy commented Aug 20, 2024

Test Plan

  • Creating user from resource
    • login doesn't exist on host -> create the user
    • login exists on host, not managed by Teleport -> do nothing
    • login exists on host, insecure-drop -> do nothing
    • login exists on host, keep -> do nothing
  • More than one matcher in an SHU matches a node -> log a warning and do nothing
  • Deleting SHU resource doesn't remove the user/home directory/sudo entitlements
  • Automatic Host User Creation
    • keep mode doesn't update/overwrite a static user
    • drop mode doesn't update/overwrite/delete a static user

rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 4, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
rosstimothy added a commit that referenced this issue Sep 6, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
github-merge-queue bot pushed a commit that referenced this issue Sep 6, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
github-merge-queue bot pushed a commit that referenced this issue Sep 6, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
atburke pushed a commit that referenced this issue Sep 11, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
atburke pushed a commit that referenced this issue Sep 11, 2024
Emits audit events in response to users modifying or creating
StaticHostUser resources.

Updates #42712
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used for new features in Teleport, improvements to current should be #enhancements server-access
Projects
None yet
Development

No branches or pull requests

2 participants