I created a new daemon in MidnightBSD called aged that managed the age verification data to comply with the California law. We do not yet have a fully compliant solution since additional hooks are needed. This is just the first step.

aged(8) does not comply with Brazil’s law since that requires ID checks. I’m not planning to support that.

The daemon uses a SQLite 3 database for storage and can support age or date of birth. It uses an agectl command to check age for users or to set it as root.

I also uploaded a new release this weekend that fixes a few security issues (4.0.3). It does not contains the new daemon.