-
Notifications
You must be signed in to change notification settings - Fork 254
Test groupmod -u with user list #1450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test groupmod -u with user list #1450
Conversation
hallyn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with alx, a bit more explanation on patch 1 would be appreciated.
6a1426d to
99abadd
Compare
GShadowEntry administrators and members represent a list of usernames, not a single string. Thus, set them to `list[str]`. This fixes type safety and clarifies the expected data structure. Fixes: 458700b (2025-09-10; "tests/system/framework/: fix Python linter issues") Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
…er list Add comprehensive test for the groupmod -U option when provided with a list of users to set group membership. This test verifies: - Setting initial group membership with multiple users - Proper membership verification in both group and gshadow entries - Updating group membership by modifying the user list - Correct handling of membership changes in group databases Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
99abadd to
1ad1d8c
Compare
|
I discovered an additional problem with |
|
@alejandro-colomar you ok with merging this before the release, or will that throw a wrench into testing you've already done? |
I'm okay with it. :) |
Add comprehensive test for the groupmod -U option when provided with a
list of users to set group membership. This test verifies: