This website requires JavaScript.
Explore
Help
Sign In
system
/
systemd
Watch
1
Star
0
Fork
You've already forked systemd
0
mirror of
https://github.com/systemd/systemd
synced
2024-07-24 03:36:24 +00:00
Code
Issues
Actions
6
Packages
Projects
Releases
Wiki
Activity
156d23abc9
systemd
/
test
/
test-sysusers
/
test-13.expected-group
6 lines
68 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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-01-30 19:04:14 +00:00
hoge:x:300:
baz:x:302:
sysusers: look at login.defs when setting the default range to allocate users Also, even if login.defs are not present, don't start allocating at 1, but at SYSTEM_UID_MIN. Fixes #9769. The test is adjusted. Actually, it was busted before, because sysusers would never use SYSTEM_GID_MIN, so if SYSTEM_GID_MIN was different than SYSTEM_UID_MIN, the tests would fail. On all "normal" systems the two are equal, so we didn't notice. Since sysusers now always uses the minimum of the two, we only need to substitute one value.
2020-09-25 15:16:06 +00:00
yyy:x:SYSTEM_UGID_MAX:
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-01-30 19:04:14 +00:00
foo:x:301:
ccc:x:305:
Reference in a new issue
Copy permalink