MidnightBSD 4.0.4 Adds Age Verification System Amid Growing US State Regulations
#Regulation

MidnightBSD 4.0.4 Adds Age Verification System Amid Growing US State Regulations

Hardware Reporter
3 min read

MidnightBSD 4.0.4 introduces Aged daemon and Agectl program for age verification/attestation, becoming the first open-source OS to ship such functionality as US states pursue OS-level age verification laws.

MidnightBSD 4.0.4 has been released today, marking a significant milestone for this desktop-oriented BSD operating system. The update introduces a new Aged daemon and Agectl program designed to handle age verification and attestation, positioning MidnightBSD as the first open-source operating system to ship native age verification support.

BSD

The timing of this release is particularly noteworthy given the increasing number of US states pursuing legislation around age verification at the operating system level. MidnightBSD's developers have proactively implemented these features ahead of potential regulatory requirements, demonstrating the project's responsiveness to emerging legal landscapes.

How the Age Verification System Works

The Aged daemon runs automatically at startup unless explicitly disabled through the /etc/rc.conf file using the command sysrc aged_enable=NO. This opt-out approach ensures the system is ready for jurisdictions that may require such functionality while still giving administrators control over its operation.

When creating new user accounts, MidnightBSD's adduser utility now prompts for age information. The package manager, mport, has been updated to check user age brackets during package installations and can set negative ACLs to block applications from running for users under specified age ranges. Currently, no packages in the mports collection are age-restricted, but the infrastructure is in place for future implementation.

Managing User Ages

Administrators can set user ages through several methods:

  • For a 15-year-old user: doas agectl -a 15 myuser
  • Using date of birth: agectl -b 2006-02-28 myacct

The root account defaults to assuming the user is 18 or older, but this can be modified as needed. The release notes specifically advise that parents should manage PCs in jurisdictions requiring this functionality for it to work as intended.

Developer Integration

Application developers can integrate age verification checks through three approaches:

  1. Running agectl without arguments as the user (suitable for shell scripts)
  2. Using new functions in libutil:
    • int * agev_get_age_bracket(const char *username)
    • int agev_set_age(const char *username, int age)
  3. Direct communication with the aged(8) socket (not recommended)

Additional Improvements

Beyond the age verification features, MidnightBSD 4.0.4 includes the FreeBSD-written AMD-CPPC driver, which improves power management on recent AMD Ryzen processors. This addition enhances the operating system's performance and efficiency on modern hardware, addressing a key concern for desktop users.

Availability and Future Implications

MidnightBSD 4.0.4 is available for download via GitHub, where users can access the full release notes and installation instructions. The introduction of age verification support represents a significant departure from traditional open-source operating system design, which typically emphasizes user freedom and minimal restrictions.

This move by MidnightBSD raises interesting questions about the future of open-source operating systems in an increasingly regulated digital environment. While some may view these features as an unnecessary burden, others see them as a pragmatic response to evolving legal requirements that could affect how operating systems are distributed and used in certain jurisdictions.

As more US states consider age verification requirements for digital services, MidnightBSD's proactive approach may influence how other operating systems handle similar regulatory challenges. The project's willingness to implement these features while maintaining user control through opt-out mechanisms demonstrates a balanced approach to compliance and user autonomy.

The release of MidnightBSD 4.0.4 with built-in age verification support marks a significant moment in the evolution of open-source operating systems, potentially setting a precedent for how projects navigate the intersection of user freedom and regulatory compliance in the years ahead.

Comments

Loading comments...