mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[GH-ISSUE #213] Limit length of account name #56
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FlochonR on GitHub (Jul 1, 2021).
Original GitHub issue: https://github.com/ovh/the-bastion/issues/213
Hello everybody,
I have a question about the limit of the length of account name that is at 18
Account name is too long, length(xxx....) > 18Is there a particular reason of this ? Can it have edge effect if I change the value ?
Thanks in advance for your replies,
FlochonR
@speed47 commented on GitHub (Jul 1, 2021):
This is a technical limitation, linked to the fact that Linux usernames can't have more than 32 characters, and The Bastion uses prefixes and suffixes internally that add to the base length of the account you want to create.
We might want to optimize the length of these prefixes/suffixes at some point to try to get back room for a few more characters, but it won't be more than 4 or 5, unfortunately.
EDIT: I was thinking about group names when answering above (it's 18 chars too). It might be feasible to have slightly longer account names, maybe up to ~28 (the 32 chars limit still applies, and there is a --tty suffix of 4 chars), I'll investigate.
@FlochonR commented on GitHub (Jul 1, 2021):
Ok thanks for your response !
@speed47 commented on GitHub (Jul 1, 2021):
FWIW it was easier than I previously though, #214 will bring the limit up to 28 chars.
@FlochonR commented on GitHub (Jul 2, 2021):
Thank you !!