https://bugs.kde.org/show_bug.cgi?id=519368
Bug ID: 519368
Summary: getUsersList does not parse /usr/etc/login.defs on
openSUSE Tumbleweed
Classification: Frameworks and Libraries
Product: kdenetwork-filesharing
Version First unspecified
Reported In:
Platform: openSUSE
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
In kdenetwork-filesharing-26.04.0/samba/filepropertiesplugin/usermanager.cpp,
the method getUsersList attempts to determine UID_MIN and UID_MAX by parsing
/etc/login.defs. If the file does not exist, it will default to hard-coded
values 1000 and 65000, respectfully. On openSUSE Tumbleweed, the mentioned file
is under /usr/etc/login.defs. Therefore, the mentioned hard-coded values will
be applied, which is not a problem in this case because the hard-coded values
are equal to the default values from /usr/etc/login.defs at the time of writing
this report. It becomes a problem if the system administrator customizes it.
STEPS TO REPRODUCE
1. Install the package on openSUSE Tumbleweed
2. Customize /usr/etc/login.defs by changing UID_MIN and UID_MAX
OBSERVED RESULT
/usr/etc/login.defs is not applied
EXPECTED RESULT
/usr/etc/login.defs is applied
SOFTWARE/OS VERSIONS
Stated in the Summary section.
--
You are receiving this mail because:
You are watching all bug changes.