Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   sysusers.d    ( 5 )

декларативное распределение пользователей и групп системы (Declarative allocation of system users and groups)

  Name  |  Synopsis  |  Description  |    Configuration directories and precedence    |   |  Specifiers  |  Idempotence  |  See also  |  Note  |

Конфигурационные каталоги и предшественники (Configuration directories and precedence)

Each configuration file shall be named in the style of
       package.conf or package-part.conf. The second variant should be
       used when it is desirable to make it easy to override just this
       part of configuration.

Files in /etc/sysusers.d override files with the same name in /usr/lib/sysusers.d and /run/sysusers.d. Files in /run/sysusers.d override files with the same name in /usr/lib/sysusers.d. Packages should install their configuration files in /usr/lib/sysusers.d. Files in /etc/sysusers.d are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. All configuration files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in. If multiple files specify the same path, the entry in the file with the lexicographically earliest name will be applied. All later entries for the same user and group names will be logged as warnings.

If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null in /etc/sysusers.d/ bearing the same filename.