Aller au contenu

Groups

Ce contenu n’est pas encore disponible dans votre langue.

Refer to the JSON Group Record documentation for information on all supported fields.

Within the package tree ./pkg add gdm.group:

{
"groupName" : "gdm",
"gid" : 21,
"disposition" : "system"
}

Note that these are the minimum required set of fields, and disposition should always be set to system.

In your recipe’s install section, you must install the file by group name and by gid to the %(libdir)/userdb directory:

Terminal window
%install_file %(pkgdir)/gdm.group %(installroot)%(libdir)/userdb/gdm.group
ln -s gdm.group %(installroot)%(libdir)/userdb/21.group