diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-19 02:16:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-19 02:16:27 +0200 |
commit | 0e77023ea0ce315af6b0c4806b27c0140c91bbc7 (patch) | |
tree | 322da2d177a63507c4d7ebf593b2aa5863981e3e /src/test/test-util.c | |
parent | dfc87cbfe5ec03190e5b2235b1ed477db11541ca (diff) |
sysusers: add a new RPM macro for creating users directly from data passed in via stdin
This allows encoding users to create directly in %pre, which is
necessary so that files owned by the RPM can be assigned to the right
users/groups.
This new macro does create a redundancy, as user definitions for all
users that shall own files need to to be listed twice, once with this
new macro, and then secondly, in the sysusers file shipped with the
package. But there's little way around that, as the users of this type
need to exist before we install the first file, but we actually want to
ship the user information in a file.
Diffstat (limited to 'src/test/test-util.c')
0 files changed, 0 insertions, 0 deletions