]> git.ipfire.org Git - thirdparty/systemd.git/commit
userdb: add "description" field to group records
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Aug 2020 15:35:34 +0000 (17:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 7 Aug 2020 06:39:18 +0000 (08:39 +0200)
commit0bb4308014d587354d4dbd1cc3a122f0751974b2
treea29c30ffbb90920b720fcbc1168fedf868284336
parentfdc6c4f49c808baafb9bb0e01b617b4f3471f46b
userdb: add "description" field to group records

User records have the realname/gecos fields, groups never had that, but
it would really be useful to have it, hence let's add it with similar
semantics.

We enforce the same syntax as for GECOS, since it's better to start with
strict rules and losen them later instead of the opposite.
src/shared/group-record-show.c
src/shared/group-record.c
src/shared/group-record.h
src/shared/user-record.c
src/shared/user-record.h
src/userdb/userdbctl.c