Add a required birth date prompt (YYYY-MM-DD) to the user creation flow, stored as a systemd userdb JSON drop-in at /etc/userdb/<user>.user on the target system.
Motivation
Recent age verification laws in California (AB-1043), Colorado (SB26-051), Brazil (Lei 15.211/2025), etc. require platforms to verify user age. Collecting birth date at install time ensures Arch Linux is compliant with these regulations.
This is just a pull request, no changes yet.
The pull-request discussion thread has been locked, just like it happened for the similar thread in Systemd, owing to the amount of negative comments…


@[email protected] @[email protected] @[email protected]
The Brazilian flavor of age checking explicitly prohibits self-declaring (“vedada a autodeclaração”). Estimation of age via selfie or behavioral analysis, as well as the need for government-issued IDs, perhaps validation via credit card microtransactions, are some of the accepted age verification mechanisms for Lei 15211 (“ECA Digital” or, more informally known as “Lei Felca” due to the involvement of a YouTuber sub-celebrity on getting this thing to Brazilian lawmakers). Doing age bracketing via self-declared mechanisms, such as birthdate input or the usual consent button, risks fines and other provisions.
KYC (“Know Your Customer”) is, deep down, what these laws are going to be about, ID checks as sine qua non part of purposefully vague-worded laws with broad and outreaching enforcement, so tech organizations and companies worldwide, especially the smaller ones, will eventually find themselves in a situation where they are legally compelled to implement everything that’s being pushed as part of these dystopian laws. After all, it’s far from being just a Brazilian or a Californian thing.
Currently, yes, we’re seeing this law-concept restricted to a handful of places such as some USian states, as well as countries such as UK, Australia, Canada, now Brazil… Zoom out, however, and you’ll realize how this thing is gradually spreading worldwide because this is the only way for age verification to get effectively enforced.
You read it correctly, those laws are very likely getting to more and more countries, eventually turning KYC into part of international, industrial standards. Nothing too hard for big corps to do on their own, such as Google and Microsoft, even Canonical and Red Hat which are large companies, but small companies will end up being pushed into relying on non-free third-party KYC services in order to comply with age verification.
Such situation would end up benefiting the big players, with KYC services such as Persona becoming the new ubiquitous Cloudflare when it comes to this digital landscape. KYC gates, in this sense, would become the new CAPTCHA, Biometrics-as-a-service would become the new normal, true FOSS projects would become unlawful a priori while large corporations would thrive with another data point for tracking and advertising, and as the tolerance bar gets lowered, people will end up used to it, because any attempt to be against it will lead, at best, to social ostracization…
I don’t know, maybe I’m being overly pessimistic about it, but I can’t help but notice how dystopian things, some of which were long foretold and were warned about, are slowly taking away our privacy and freedom…
I don’t disagree with anything here.
But my point wasn’t “there’s nothing to worry about”, it was “an age field is the minimum they can do, and blaming them for it is pointless”.
My point is that this law is already there, and the fight needs to be brought where it matters, and the code of linux systems is not what is going to change politics. When someone is held at gunpoint, you don’t yell at them to fight back and curse them when they don’t, but you attack the attacker.
The law is completely not here, it affects very few people in the world, so they can bugger off with this nonsense change