6 ms·
Store birth date in systemd for age verification
- sazz 7mo agoThe hope that humanity has learned something from wasting its time clicking away completely useless cookie pop-ups on websites has probably died once and for all.
- miohtama 7mo agoThis should be the time for open-source developers to use their common sense to decide whether we should push back. If California wants to create its own Protect the children operating system, it should bear the cost and responsibility for this alone, and not export any of the sketchy political agenda to the wider open source community.
- bitwize 7mo agoIt's the law. If you live in the United States, and a minor in California uses your OS that didn't check age, you could be liable for up to $2500 per occurrence. That can add up quickly if California schoolkids discover your OS does an end run around the law. When ruin is the alternative, compliance becomes non-negotiable.
- iamnothere 7mo agoMany distros disagree and are not complying. It’s very likely that this (and all similar bills) will be overturned after legal challenges. Noncommercial projects especially have a strong 1A case and we have already beaten one of these bills. Keep fighting.
- josefritzishere 7mo agoCalifornia can't govern outside California. Other states have discovered the legal limits of their soverignty quite recently. But it certainly argues against hosting in CA and furthermore, consulting an attorney.
- bitwize 7mo agoIf you have a connection to California, you can be sued in their courts. I don't know whether providing (not selling, that certainly counts) an OS to California residents from outside California counts as a connection, that's something you need to review with your legal team. One thing is certain though: you need legal counsel to do OS dev; the Terry Davis era has come to a close.
- miohtama 7mo agoThen let Californians do their dirty work. They have no place in the broader open-source community or in the rest of the world. Nobody should care about them, except now about caring about blocking them. The owner of the computer should decide what the computer does. California is a soon failed bankrupted US state, and no one outside its borders cares what's going on there. Companies are leaving, people are leaving. Let them sink to the ocean with their idiotic laws.
- nvme0n1p1 7mo agoCalifornia laws apply to people living in California. Not the whole country.
- gasull 7mo agoLet alone the world.
- aleph_minus_one 7mo ago> It's the law "There is no justice in following unjust laws." - Aaron Swartz (Guerilla Open Access Manifesto)
- miohtama 7mo agoNobody in their right mind can explain how locking down operating systems will protect children. It does not make sense. This is just another way to sneak in more mass surveillance and kill anonymous online presence, with most ridiculous excuses.
- calvinmorrison 7mo agoAt some point you have to pick a jurisdiction. It's impossible to support all jurisdictions laws as a company, much less as a FOSS project.
- wpm 7mo agoExcept systemd isn't an OS. xdg-desktop-portal is not an OS. None of these projects need to flop over and acquiesce to this overreach.
- surajrmal 7mo agoThis is optional functionality which a subset of their important customers want. You will continue to have options that do not make use of this feature. As someone with children, I see benefits in how age verification will help me manage my kids relationship with technology. Even if it was not the law, I would choose products with support. The point of open source is to allow for both options.
- monksy 7mo agoLinux and OSS has customers?
- egorfine 7mo agoGasing the Jews was the law as well.
- surajrmal 7mo agoThe two couldn't be more unrelated. The idea that age verification in an OS is bad is a niche position by a select few. You don't hear dissenting views on hackernews because the majority here belong to that group and going against the grain is down voted. On the other hand, you're comparing it to killing humans. Making everything into a moral dilemma cheapens the argument. Just because you disagree with the law doesn't give you moral high ground to ignore it. I think cookie consent questions are terrible but I'd not dream of not adding one if compelled by law
- egorfine 7mo agoThis is an argument that the law sometimes is clearly in the wrong. > The idea that age verification in an OS is bad is a niche position by a select few I am pretty sure that's not true.
- cluckindan 7mo agoWhat if the OS had a mandatory ethnicity check? Let’s ask IBM.
- LiEnby 7mo agojust because the state called their demands and threats a 'law' doesn't give them a "moral high ground" to force everyone to comply with their demands.
- KornClown7 7mo ago7500$ per instances
- Svoka 7mo agoDid you consider that companies want to sell laptops/PC with Linux in California? This is open-source, you can modify software to align with your business goals, including complying to regulations. If you have something against regulations, take that with lawmakers, not businesses which actually trying to promote Linux.
- JellyYelly 7mo agoI don't mean to come across as a snob, or anything like that, but I find this PR really odd. It's the authors first time contributing to this repo and it the feedback on the PR that was addressed is really odd, like some of it is super basic stuff, even if you're not familiar with the code base or the language. Just an all round weird vibe.
- mock-possum 7mo ago> “The clang-tidy test failures appear to be pre-existing and don't seem to be related to my code” I’ve seen Claude reproduce nearly identical comments, wonder if that’s a couidence
- rleigh 7mo agoLikely. Whenever I see that it usually means it itself created the test failures but won't admit to it!
- icar 7mo agoHaving this in userdb is not bad per se. We already have a bunch of PII in there.
- stuaxo 7mo agoI like the analogy of data as oil: polluting when it gets out. I'd like to severely limit the amount of PII on the system.
- anotherhadi 7mo agoPretty good implementation imo
- Spivak 7mo agoYeah, it's the most basic thing you could do that's not intrusive to the rest of the system. userdb is a local directory and most directories, like LDAP, have a DoB field. Even if these laws fizzle out the change would still be potentially useful for other things like parental controls apps.
- noobermin 7mo agoThe context is that this is in response to California in the US potentially passing a law that requires age verification on the operating system level.
- iAMkenough 7mo agoTraced back to Meta lobbyists. https://tboteproject.com/ https://tboteproject.com/
- ahoka 7mo agoMeta gives money to the Heritage Foundation? Wild.
- iAMkenough 7mo agoThat's not how I read this: > Meta spent a record $26.3 million on federal lobbying in 2025, deployed 86+ lobbyists across 45 states, and covertly funded a group called the Digital Childhood Alliance (DCA) to advocate for the App Store Accountability Act (ASAA). But the operation extends beyond Meta. > The Heritage Foundation funds three of six named DCA coalition organizations, staffs the advocacy pipeline from Capitol Hill to state legislatures, and has merged leadership with another coalition member.
- zeratax 7mo agothere is no verification happening though
- iamnothere 7mo agoThere is in New York, Brazil, and probably other places too. Attestation is a foot in the door and will become verification when it is shown to be ineffective. And unless the law is defeated, it will provide precedent for further legislative intrusion into personal computing.
- treesknees 7mo ago
- bravetraveler 7mo agoWhere can I drop a file to always return 1969
- renewiltord 7mo agoIt’s admin settable. So just sudo homectl it. You are presumably admin.
- bravetraveler 7mo agoThat's beside my 'point', but fine. I'm deliberately conflating things for humor, sorry it missed. I'll get serious/stop joking around. I have no interest in administrating this. Especially on a per-user basis (despite that being the only way this 'works', I'm generally opposed). I'd prefer a file to drop in /etc... like one would express preferences over, say, /usr. It's entirely optional, I get that. I could 'just' not set anything. Spare your fingers. I want to poison it [or loudly opt out] without a lot of effort. This includes running N commands when a file to could effectively disable the signal. Said differently: I don't want to configure the portal, I want to ~~break~~ mask it.
- SAI_Peregrinus 7mo agoStick a service unit in `/etc/systemd/system/` that is a oneshot type with `WantedBy=multi-user.target`, and which runs the appropriate homectl command for each user listed in /etc/passwd (likely just in a shell script).
- NekkoDroid 7mo ago> Said differently: I don't want to configure the portal, I want to ~~break~~ mask it. Since this is sd-userdbd we are talking about unless the used backend provides the value it is unset by default. And if you manage your home directory using sd-homed unless you explicitly set it it is also unset by default.
- bravetraveler 7mo ago
- mzajc 7mo agoTangentially related, but does anyone know what Poettering's "cryptographically verifiable integrity" endeavor[0] is about yet? [0]: https://news.ycombinator.com/item?id=46784572 https://news.ycombinator.com/item?id=46784572
- rcxdude 7mo agoProbably what it says on the tin, TBH. If you hold the keys, it can strengthen security a lot.
- lyu07282 7mo agoI assume all along that trusted computing is where this age verification stuff is planned to lead to eventually: https://en.wikipedia.org/wiki/Trusted_Computing#Criticism https://en.wikipedia.org/wiki/Trusted_Computing#Criticism
- wolvoleo 7mo agoTrusted is such a misnomer. I would trust my computer a lot less if it would answer to them.
- te7447 7mo agoIt's trusted in the sense that it lets the person with power (the root of trust) trust the hardware. That person just isn't you. It's a way to enforce power relations by making the hardware respect them. From this perspective, it's pretty evident how it degrades adversarial interoperability, which is about ignoring power relations to build your own system.
- nullc 7mo agoIt's about making sure you can't bypass systems like this-- or rather, that when you use your rights under the GPL to remove this privacy invading crud or just otherwise modify your software you'll be broadly banned from interacting with third party services.
- egorfine 7mo ago
- petee 7mo agoI had to check the date; is not April yet
- jprjr_ 7mo agoI cannot express how disappointed I am to see open source projects giving in to complying with age attestation laws. I feel like complying really undermines any first amendment arguments. Software is a first amendment protected form of expression, giving in before getting any actual threats from the state makes your participation seem voluntary. Systemd's participation puts the entire world into compliance with a California law
- zeratax 7mo agothis is not attestation though? it's just parental controls, no?
- iamnothere 7mo agoBSDs don’t use SystemD, neither do some distros. After they have been exposed here as collaborators I suspect we will see freedom-respecting distros move away from them. I myself have been neutral to weakly positive on SystemD until now, as they put forward some decent solutions to longstanding problems, but from now on I intend to stop using their software entirely. As it turns out, the people who warned against “professionalizing” and corporatizing Linux were correct.
- burnt-resistor 7mo agoJust to be clear and specific, formal engineering processes and corporate selling out are two orthogonal properties that should never be conflated. Stuff millions of people use shouldn't be slapped together as a "hobby" without careful testing and change control processes. It also should get sufficient (crowd)funding so it can get the attention it deserves.
- bitwize 7mo agoNo one actually complained about Linux becoming more "professional" in terms of meeting high engineering standards. Just about corporate control over the process. There was a study that found code with more F-bombs in the comments were actually more professional according to the engineering standard, in response to complaints from suits that swearwords in the code meant that Linux couldn't be taken seriously as professional software.
- bmlzootown 7mo agoThis is absolutely ridiculous.
- zoobab 7mo agoInstead of protesting, large corporations decided to ploy. They cannot loose markets, like California or Brazil.
- jmclnx 7mo agoInteresting solution and I really expected systemd would be were this age validation would be placed if distros what it. But if this becomes a thing in Linux for the distro I use (doubtful), I will abandon Linux after 30+ years. I am rather confident OpenBSD will ignore this law and I expect other BSDs will to. If not, back to DOS :) Note, I have a BSD on a coupld of old laptops for testing reasons. I test what I write in the BSDs to help find issues, that works well.
- coldacid 7mo agoYou can always use a distro that doesn't use systemd or roll your own. Sure you lose the GNOME desktop environment, but if you ask me that's a net positive.
- jmclnx 7mo agoI agree, but this could be an issue with all distros based in the US. From my reading of these laws, I think the CA or NY or IL law could easily morph into a US National Law. So all US based distros may need to do something. I saw an article that supporting these laws could cost a distro maintainer up to 10000 USD per year. Sadly I lost the link, but the article made a lot of sense to me. So, many small distos cannot afford even 1000/year, I think this law could kill almost all small Linux distros. That will probably leave only RHEL, SUSE and Ubuntu, maybe Debian, but they would need funds donated to them from Ubuntu. If the distro is in another country like OpenBSD, they could just ignore the law(s). That of course assumes the "other" country does not replicate what is happening in the US. Right now I am hoping these laws are declared unconstitutional, but to be honest, with support by companies like meta and twitter, I expect we will see a national law sometime in 2027. So in the US, we could be looking at locked down OS, unless you want to break "the law".
- iamnothere 7mo agoI also recommend looking into Radicle, which can be used to develop git-based projects (including issues etc) in a distributed manner. It even works over Tor. In the future development of truly free software may become more risky.
- bibimsz 7mo agoi dont like this
- nazgulsenpai 7mo agoWill unincorporated distros who don't comply be illegal to use in the areas passing these laws? This isn't "obscenity" -- isn't there a first amendment argument for these projects?
- iamnothere 7mo agoThere is a strong 1A argument, and one such law has already been defeated: https://netchoice.org/netchoice-wins-permanent-block-of-louisiana-age-verification-law-protecting-free-speech-and-parental-rights/ https://netchoice.org/netchoice-wins-permanent-block-of-loui... Bernstein v. United States set a precedent that has not yet been overturned.
- nazgulsenpai 7mo agoThanks that's encouraging
- dirtikiti 7mo ago"protecting" children by providing specific ages to data harvesters. as per usual, liberal policy doing the exact opposite thing they claim it does.
- burnt-resistor 7mo agoIt's not a liberal policy, it's an illiberal one bending the knee to feudal techbros.
- tylerritchie 7mo agofor the california legislation there were no "nay" votes. it's disapointing this performatively protective stance permeates both dominant right-of-global-center parties in America, but it is "all of them"
- lyu07282 7mo agoPretty much the same laws in red and blue states yeah. It always gets confusing when Americans use the word liberal, everyone is a liberal, it never meant *your* liberty.
- wpm 7mo agoWell yeah: Meta wrote the bill, Meta greases palms in their home state, Meta gets their bill unanimously passed.
- enoint 7mo agoIt's quite conservative. Liberalism means I can use my device with no laws in between.
- kmijyiyxfbklao 7mo agoNot conservative (there's nothing traditional about this) or liberal, just surveillance authoritarianism.
- 7mo ago
- flykespice 7mo agoIt's scary how much global surveillance is closing in to become a reality with states passing these lesgilations, in the name of "protecting children", but it just serves to collect citizent personal data... And now they are creeping into open source projects too. What once was thought as the bastion of absolute freedom from the state
- aleph_minus_one 7mo ago> and now it's creeping into open source projects too. What once was thought as the bastion of absolute freedom from the state It is indeed scary is how compliant the open-source projects have become to the "governmental overlords". Where has the hacker spirit gone?
- monksy 7mo agoIn my previous comment here.. I do question what's this guys motivation to do this. It's incredibly suspicious and I question the guys motives.
- calvinmorrison 7mo agoThis should fit lennarts hubris well. This developer should be blacklisted from all open source projects, permanently.
- acuozzo 7mo agoHow would this work for multiuser accounts? Mu kids all share the same account on the family computer.
- exabrial 7mo agoThank you blue states for the stupidity.
- ameixaseca 7mo agoFrom the pull request: > Stores the user's birth date for age verification, as required by recent laws in California (AB-1043), Colorado (SB26-051), Brazil (Lei 15.211/2025), etc. The Brazilian law does NOT require this. This is a misconception, and likely based on an understanding of California's law being extrapolated to the Brazilian law. They are almost complete opposites. The Brazilian law (Lei 15.211/2025) puts the burden of age verification on *providers* of web platforms, app stores, or dumb terminals. Not on operational systems. It also mentions "reasonable measurements" - which vary according to the type of content, platform, etc - and which are much less strict that anything written in California's or UK's laws regarding the same subject. It is far more based on individual risk assessment and purpose of the platforms themselves. In all fairness, the Brazilian law is the most friendly to open source and the status quo. Even though I'm also worried about the long term results of this legislation, I'm somewhat relieved by the way it turned out.
- bitwize 7mo agoI'm not sure how you would translate sistemas operacionais de terminais which is covered by the law, but to me it reads "terminal operating systems". If a terminal has its own OS, it is probably not "dumb" in any meaningful sense, and no one really uses terminals anyway except for retro enthusiasts. Even people still using, like, VM/MVS on a mainframe are connecting via a PC running a 3270 emulator. Lei № 12.965 (2014) defines a terminal (which applies in Lei 15.211) as any internet-connected computer or device.
- cauefcr 7mo agoI read it as end user OS.
- ameixaseca 6mo agoYes, you are correct. It was meant as "end user OSs", and indeed some requirements are on the end user OS. However, it is still not the same as California's law since it only describes the provision of "age bracket" and only on particular circumstances. In practice, this requirement will likely be limited to certain platforms due to technical feasibility. Proportionality and "technically secure measurements" are mentioned in the law, so there is no point requiring this from a desktop computer where someone can just type any birth year. It is likely most of the responsibility will fall on digital platforms: https://www.brasildefato.com.br/2026/03/27/eca-digital-entra-em-vigor-e-impoe-novos-desafios-para-familias-plataformas-e-autoridades/ https://www.brasildefato.com.br/2026/03/27/eca-digital-entra... https://www.fadc.org.br/noticias/eca-digital-entenda-nova-lei https://www.fadc.org.br/noticias/eca-digital-entenda-nova-le...
- egorfine 7mo agoI wonder who this https://github.com/dylanmtaylor https://github.com/dylanmtaylor guy is. Comes out of the blue and posts PRs into lots of open source repositories for this feature that should repulse every self-respecting human being. And not only that, but he engages in communication with people in tickets and ignores all constructive criticism.
- egorfine 7mo agoGiven that: * LP had zero objections to merging this commit into systemd [1]; * Amutable CEO is confident they have a very robust path to revenue [2]; * It is Facebook that pushes age verification laws all around the world; I sense that his new startup is exactly what we are afraid of: a way to prevent reverting of these patch and then actually enforce the upcoming mandatory KYC to use the computer. [1] https://github.com/systemd/systemd/pull/40954#issuecomment-4045027951 https://github.com/systemd/systemd/pull/40954#issuecomment-4... [2] https://news.ycombinator.com/item?id=46785048 https://news.ycombinator.com/item?id=46785048
- fidotron 7mo agoIt's incredibly useful for adtech if all apps on Linux can access the user birthdate. Surely this is a total coincidence.
- fdghrtbrt 7mo agoCould someone clarify for a linux newbie like me... In practical terms, what does this mean? I'm on Debian so presumably Debian will eventually pick this update, and then what? When I upgrade my system I'll get a prompt asking for my date of birth?
- t312227 7mo agohello, as always: imho. (!) idk the exact procedure which will apply to enter the birth-date on such a system, but if other comments are correct: just enter what you want! there will be no real possibility to tie this to anything "legal" / to "enforce" any "official" check of lets say your passport or other governmental id. and if in my personal opinion (!) the pretty crazy guy behind the systemd-project tries to introduce/enforce such a thing ... then i think it'll be time to either fork the project or look at systemd-free linux distributions like devuan ~ a systemd-free fork of debian :) * https://devuan.org https://devuan.org just my 0.02€
- monksy 7mo agoThe author is not from the places where he claims that these are laws. The Californian law is not in effect. Dylan M. Taylor's GH profile claims that he's from Durham, NC (which does not have this law). He also references to a draft to xdg-desktop-portal which has not been accepted. (Add parental controls to the Accounts portal: https://github.com/flatpak/xdg-desktop-portal/pull/1922 https://github.com/flatpak/xdg-desktop-portal/pull/1922) I'm asking: - What is this guy's personal interest in pushing this through? (It seems non-neccessary and is questionable at what the end goal) - Who's political agenda is he sponsoring for this? - Is he getting financially incentivized to do this?
- curt15 7mo agoIn fact, he is trying to pave the road for these "age verification" laws in multiple projects: - https://github.com/archlinux/archinstall/pull/4290 https://github.com/archlinux/archinstall/pull/4290 - https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_requests/113 https://gitlab.freedesktop.org/xdg/xdg-specs/-/merge_request... - https://github.com/canonical/ubuntu-desktop-provision/pull/1339 https://github.com/canonical/ubuntu-desktop-provision/pull/1... - https://github.com/canonical/ubuntu-desktop-provision/pull/1338 https://github.com/canonical/ubuntu-desktop-provision/pull/1... -
- monksy 7mo agoHOLY CRAP. THATS AMAZING. This isn't just some guy that's overzealous. Apparently this has escalated: https://www.reddit.com/r/privacy/comments/1rz8i4r/dylan_useful_idiot_with_commit_access_pushed_age/ https://www.reddit.com/r/privacy/comments/1rz8i4r/dylan_usef... Theres a lot of smoke here. Off his rocker: https://github.com/canonical/ubuntu-desktop-provision/pull/1338 https://github.com/canonical/ubuntu-desktop-provision/pull/1... > This is honestly some of the dumbest false equivalence I've ever read. Entering a birth date (that doesn't even have a check for truthfulness) during account setup when the system is first installed equals returning escaped slaves or turning in jews? I'm actually baffled by this comparison. And no, I don't particularly care about North Korean laws.
- btbuildem 7mo agoThis is a dangerous precedent, and should be nipped in the bud, squashed, blended, spat on and flushed. Acquiescing to (however veiled and excused) authoritarian overreach is not the way forward. The correct attitude towards this "Think of the Children but Really Think of the Advertisers' Profits" initiative is to let California (and other proponents) to figure out how they can do business without Linux or any other software that depends on it. OSS is a bastion of freedom -- real freedom, freedom FROM, not American Freedom (freedom to abuse and exploit others). We must defend it. DO NOT COMPLY.
- wannabe_loser 7mo agoSystemD has been overreaching
- baldrunner2049 7mo agoI just don't get it, if this is of such great importance for whatever, why isn't planted in bios/uefi? why not work with the hardware providers instead of trashing entire open source communities? this just smells like something else entirely.
- developic 7mo agoThis is really outrageous
- shevy-java 7mo agoI just found this thread here about systemd, implementing age-sniffing - that is actually interesting, because the pull request on systemd is 3 weeks old right now (and not even the systemd developers upvoting on that pull request): https://github.com/systemd/systemd/pull/40954 https://github.com/systemd/systemd/pull/40954 Today I realised that Poettering rejected reversion to the age sniffing done in systemd. That is also interesting - he operates like a Microsoft lobbyist.
- KornClown7 7mo agoIt's insane so many people don't care about OpenSource or how things work...