1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-04 13:51:24 +03:00
systemd/test/TEST-21-SYSUSERS
David Michael 649916d356 sysusers: support creating users with a specific primary group
This extends the "uid:gid" syntax for "u" lines so that a group
name can be given instead of a GID.  This requires that the group
is either queued for creation by sysusers, or it is already defined
on the system.

Closes #14340
2020-02-02 16:53:22 +01:00
..
inline.expected-group test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
inline.expected-passwd test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
Makefile test: replace duplicated Makefile by symbolic link 2018-10-09 19:11:21 +09:00
test-1.expected-group test: add TEST-21-SYSUSERS test 2018-01-25 12:51:00 +01:00
test-1.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-1.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-2.expected-group test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
test-2.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-2.input test/TEST-21-SYSUSERS: add tests for new functionality 2018-02-02 10:40:24 +01:00
test-3.expected-group sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
test-3.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-3.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-4.expected-group sysusers: make ADD_GROUP always create a group 2018-01-25 12:51:06 +01:00
test-4.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-4.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-5.expected-group sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-5.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-5.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-6.expected-group sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-6.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-6.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
test-7.expected-group test: add a test for sysusers 2018-03-02 07:12:40 +09:00
test-7.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-7.input test: add a test for sysusers 2018-03-02 07:12:40 +09:00
test-8.expected-group sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-8.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-8.input sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-9.expected-group sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-9.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-9.input sysusers: support u username -:300 style syntax (#8325) 2018-03-02 12:56:44 +01:00
test-10.expected-group sysusers: do not implicitly create group by 'm' if 'u' with the same name exists 2018-03-02 07:38:28 +09:00
test-10.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-10.input sysusers: do not implicitly create group by 'm' if 'u' with the same name exists 2018-03-02 07:38:28 +09:00
test-11.expected-group test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-11.initial-group test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.initial-passwd test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-11.input test: add a sysusers test with NIS entries 2018-03-17 14:18:26 +01:00
test-12.expected-group sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.expected-passwd meson: make nologin path build time configurable 2019-07-18 12:46:35 +02:00
test-12.initial-group sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.initial-passwd sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-12.input sysusers: make sure to reset the returned value when EOF is reached in fget*ent_sane() wrappers (#8737) 2018-04-18 18:32:21 +02:00
test-13.expected-group sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-13.expected-passwd sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-13.input sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-14.expected-group sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-14.expected-passwd sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-14.initial-group sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test-14.input sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
test.sh sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
unhappy-1.expected-err sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
unhappy-1.input sysusers: allow force reusing existing user/group IDs (#8037) 2018-02-01 13:47:50 +09:00
unhappy-2.expected-err sysusers: ensure GID in uid:gid syntax exists 2018-01-25 17:43:08 +01:00
unhappy-2.input codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
unhappy-3.expected-err sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00
unhappy-3.input sysusers: support creating users with a specific primary group 2020-02-02 16:53:22 +01:00