Just what I want in my distro.

After weeks of debate, code to record user age was finally merged into the Linux world’s favorite system management daemon.

Pull request #40954 to the systemd project is titled “userdb: add birthDate field to JSON user records.” It’s a new function for the existing userdb service, which adds a field to hold the user’s date of birth:

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 contents of the field will be protected from modification except by users with root privileges.

The change comes after the recent release of systemd 260 but unless it is reverted for some reason, it will be part of systemd 261. One of the justifications is to facilitate the new parental controls in Flatpak, which are still in the draft stage.

  • ascend@lemmy.radio
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    18 hours ago

    It should be something like date of birth and at what age are they no longer considered a minor, then its hashed and the system will only say if they are to be considered a minor or not but not give any information on the actual dates set or anything. Or like a specific number of years to countdown from instead of a date

    • ParlimentOfDoom@piefed.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      8 hours ago

      Or just let the parents turn it on or off instead of needing it to securely hold PII… Which we know never ends well. Doubtful they’ll be using the same device for their entire childhood anyway.

    • floofloof@lemmy.ca
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      16 hours ago

      DOB shouldn’t be collected at all. Operating systems don’t need to know personal information about their users.

      • ascend@lemmy.radio
        link
        fedilink
        arrow-up
        4
        ·
        16 hours ago

        Yeah I guess if someone wanted to set a sort of parental control you’d just make them a user with limited control which we have already ways to do