This only converts the places in the utils package that were
logging with logrus, but it does not fully remove the logrus
package as a dependency. The package is home to the logrus text
formatter which needs to exist until slog is the only logging
mechanism in use.
This change fixes a bug in host user creation where Teleport would not
update the groups of a returning user if groups were changed in
the user's role.
This change fixes a bug where file uploads/downloads in the web UI
would fail if the local user (provisioned by Teleport in
insecure-drop mode) didn't have a home directory.
Test that CreateHomeDirectory does not follow symlinks
resolve comments
add our own recursive directory copy
Resolve comments
Fix for "Manually create the users HOME rather than letting useradd do it"
* Add option to allow for host users not to be deleted
This adds a new role option called create_host_users_mode which allows
for it to be configured to not delete users when a session ends. The
old `create_host_user` option will be deprecated with this.
If the deprecated option is set, the new mode option will default to
dropping users as is the current behavior.
* add generated protos
* use combined output for commands, dont set CreateHostUser
* fix tests
* ci fixes
* add godocs to HostUserMode constants, fix tests
* remain -> keep
* Use an enum instead of a string
* fix merge errors
* Add tests & resolve comments
* Resolve issues
* fmt
* Add support for automatic user provisioning
* Add UID parker to reexec
* Add a `teleport park` subcommand that does nothing
Co-authored-by: Edoardo Spadolini <edoardo.spadolini@goteleport.com>