Context
-
Through a bug report and discussion about KDE Plasma’s user management KConfig Module silently failing to support commas inside the full name field, I recently came to realise that parsing the GECOS field in
/etc/passwd
is a rather unstandardised endeavour, [1] for some applications support the comma-delimited values, [2] whereas others consider the entire content to be the user’s full name. [3] -
When I discussed this with the
chfn
developers atgithub.com/util-linux/util-linux/discussions/3589#discussioncomment-13270218
, I was advised that this was the purview of POSIX:POSIX defines the
/etc/passwd
format, but not the GECOS subfields and separators. -
Consequently, I intended to file an ommission bug at The Austin Group MantisBT instance: [4]
However, upon further research, POSIX.1 (The Open Group Base Specifications Issue 8) is too narrow, so I tried The Single UNIX Specification Version 4.
Unfortunately, this explicitly states: [5]
One thing that becomes apparent working with the Single UNIX Specification is its focus on application development. The Single UNIX Specification is similar to the User’s and Programmer’s Reference Manuals on Berkeley or System V systems.
Matters of system management are not part of this specification. Directory organization is not discussed beyond the simple few directories and devices that applications generally use. User management discussions do not appear. There is no discussion of such files as
/etc/passwd
or/etc/groups
, since an application’s access to the information traditionally kept in these files is through programmatic interfaces such asgetpwnam()
andgetgrnam()
.
Question
Consequently, does any organisation exist, that I can petition to, to standardise the escape sequences of /etc/passwd
’s GECOS field, so that those who use commas in their names can?