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…

  • Rando@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    3
    ·
    2 months ago

    If you really don’t see this as a problem with governments instituting this you are exactly who I am talking about. Keep drinking the koolaid bud

    • FishFace@piefed.social
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      7
      ·
      2 months ago

      Governments should not be requiring this of operating systems; it’s absurd on many levels.

      But actually implementing it is still pretty innocuous.

      • Digit
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 months ago

        need a “/s” on that last line?

        • FishFace@piefed.social
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          3
          ·
          2 months ago

          Maybe just a clarification. Implementing optional fields is innocuous. Implementing requirements is not.