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

OS Customisation: Validate usernames #819

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

tdewey-rpi
Copy link
Collaborator

Import the systemd recommended username validation regex.

Resolves a ticket reported to the Raspberry Pi information inbox.

Import the systemd recommended username validation regex.

Resolves a ticket reported to the Raspberry Pi information inbox.
@tdewey-rpi
Copy link
Collaborator Author

Tested on Raspberry Pi OS - this will now refuse any uppercase characters in the username, and constrain the length to a value that should work on any distro that runs systemd.

@tdewey-rpi tdewey-rpi merged commit 6a19fa1 into raspberrypi:qml Feb 14, 2024
@tdewey-rpi tdewey-rpi deleted the bugs/info/326 branch February 14, 2024 14:28
@lurch
Copy link
Contributor

lurch commented Feb 14, 2024

See also #741

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

Successfully merging this pull request may close these issues.

2 participants