mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 00:51:24 +03:00
aa25270cb2
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.
9 lines
359 B
Plaintext
9 lines
359 B
Plaintext
# Test generation of ID dynamically based on SYSTEM_UGID_MAX and
|
|
# replacement of all fields up to the login shell.
|
|
#
|
|
#Type Name ID GECOS homedir shell
|
|
u u1 - "some gecos" /random/dir -
|
|
u u2 777 "some gecos" /random/dir /bin/zsh
|
|
u u3 778 - /random/dir2 /bin/bash
|
|
u u4 779 - - /bin/csh
|