Logo
Explore Help
Sign In
morgan/systemd
1
0
Fork 0
You've already forked systemd
mirror of https://github.com/morgan9e/systemd synced 2026-04-15 00:47:10 +09:00
Code Issues Packages Projects Releases Wiki Activity
Files
main
systemd/test/test-sysusers/test-13.expected-group

6 lines
68 B
Plaintext
Raw Permalink Normal View History

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 14:04:14 -05: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 17:16:06 +02: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 14:04:14 -05:00
foo:x:301:
ccc:x:305:
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 1916ms Template: 10ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API