]> git.ipfire.org Git - thirdparty/systemd.git/commit
sysusers: support `u username -:300` style syntax (#8325)
authorMichael Vogt <michael.vogt@gmail.com>
Fri, 2 Mar 2018 11:56:44 +0000 (12:56 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 2 Mar 2018 11:56:44 +0000 (12:56 +0100)
commit1825c909ffc596af1d68a7c50e16a498a31c3f5b
tree0bd8c61889a397844c6e89a3716b2bd60d6f8bc3
parent283def70cfcbc3be2490d1151a2ec7f849a528be
sysusers: support `u username -:300` style syntax (#8325)

This PR implements the first part of RFE #8046. I.e. this allows to
write:
```
u username -:300
```
Where the uid is chosen automatically but the gid is fixed.
man/sysusers.d.xml
src/sysusers/sysusers.c
test/TEST-21-SYSUSERS/test-8.expected-group [new file with mode: 0644]
test/TEST-21-SYSUSERS/test-8.expected-passwd [new file with mode: 0644]
test/TEST-21-SYSUSERS/test-8.input [new file with mode: 0644]
test/TEST-21-SYSUSERS/test-9.expected-group [new file with mode: 0644]
test/TEST-21-SYSUSERS/test-9.expected-passwd [new file with mode: 0644]
test/TEST-21-SYSUSERS/test-9.input [new file with mode: 0644]