Hi! I’m new in using teleport and i’m trying to understand how can i suspend user account in teleport.
I made a user using the command
sudo tctl users add gizmo
gizmo@ubuntu:~$ sudo tctl users ls
User Allowed logins
After that i tried to login into my Teleport UI, everything is fine here
Tried to login by SSH to the server, everything works fine too, but now, i want to suspend the user account. What i did for that.
Made config export for the user using the command
gizmo@ubuntu:~$ sudo tctl get users/gizmo
Had change is_locked parameter in config file to a new one
And applied new config file using the command
sudo tctl create -f gizmo.yaml
After that, i had tried to login to my Teleport UI or try to start SSH terminal session and everything still works and user is not locked.
Can anyone help me to explain, how can i suspend users and activate them when i needed?