GECOS Field
GECOS Field
Posted Apr 1, 2026 22:52 UTC (Wed) by anselm (subscriber, #2796)In reply to: GECOS Field by linuxrocks123
Parent article: Objections to systemd age-attestation changes go overboard
So, why not just add a new comma field at the end of the GECOS data? Wouldn't software that doesn't know about it ignore it?
Software that doesn't know about it will probably get confused if it assumes the GECOS field contains exactly the common four subfields, or it will simply attach the value of the extra date-of-birth subfield to the value of the preceding subfield (the user's home phone number in the traditional interpretation). The basic problem with the GECOS field is that its handling is specified too loosely already to be really useful, and adding extra confusion into the mix by introducing more gratuitous subfields does not help anyone.
If you add the date of birth to the systemd user database instead, at least you won't break an indeterminate number of other programs which have been around for a very long time and which nobody is keen on having to update anymore.
.