lima-vm / lima-vm/lima

Username regex is overly strict compared to certain common distros

Open
#934 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

### 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 https://github.com/atmoz/sftp/issues/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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.