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…

  • underscores@lemmy.zip
    link
    fedilink
    English
    arrow-up
    3
    ·
    8 hours ago

    it’s so strange to me that he tried to add age verification scripting changes in archinstall. isn’t that the wrong place systemd makes sense but I’m puzzled by the archinstall pr

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      5 hours ago

      The thing that’s frustrating is that if the age verification laws weren’t there and they wanted to add a birthday field it wouldn’t seem bad. Details about the human using the account like first and last name are already stored. All you really need is username. But because it’s explicitly in reaction to age verification laws we have to be skeptical about adding it.