#tctl users rm himaz
error: special characters are not allowed in resource names, please use name composed only from characters, hyphens and dots
#tctl users rm himaz
error: special characters are not allowed in resource names, please use name composed only from characters, hyphens and dots
Can you please provide the output of tctl users ls
and tctl get user/himaz
?
This is a weird issue. Could you also provide the output of tctl tokens ls
as well? You can redact the content of the tokens, but I need to see the names.
This is a pretty weird situation. The error message you’re getting (error: special characters are not allowed in resource names, please use name composed only from characters, hyphens and dots
) generally indicates that something is populating an unsupported token into the database somewhere.
Are you specifying the static tokens via the teleport.yaml
config file under the auth_service.tokens
section? If so, can you comment these tokens out, restart Teleport and try removing the user again?