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

Username regex is overly strict compared to certain common distros #934

Open
aiven-amartin opened this issue Jun 29, 2022 · 0 comments
Open

Comments

@aiven-amartin
Copy link

aiven-amartin commented Jun 29, 2022

Description

While certain interpretations of the spec use the same regex (e.g. Alpine Debian), historically [a-zA-Z\.] were all valid characters, and I and others have scripts and environments that rely on username patterns like first.last. Other projects handle this by introducing an override flag to relax this when booting an image/os version that allows a more relaxed pattern (see atmoz/sftp#109.). I would really like a simple flag to disable this validation so I don't have to mess with the users in the container after booting in. A template level override of the regex could also work, as this validation is very much image dependant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant