Hi,
I went through the thread and there are good points that I was not aware of. But libuser is now pulled into every installation and considering the state of the library (not being developed) I still think we should do something about it. The benefit is small for tools like passwd.
The passwd utility has a compile time option for libuser (as well as other dependent packages with one exception where it can be fixed with small effort). So we can keep the current passwd utility for time being until the one from shadow util is ready and SELinux adjusted.
Some use cases (like puppet) justify the effort for keeping libuser available in EPEL.
Tomáš
On Mon, Jul 3, 2023 at 1:25 PM Dominik 'Rathann' Mierzejewski < dominik@greysector.net> wrote:
On Monday, 26 June 2023 at 03:16, James Ralston wrote: [...]
To remove a user from a group:
lgroupmod -m someuser somegroup
[...]
But groupmod has no ability to remove a user from a group.
[...]
For shadow-utils 4.10 or later, usermod has a new -r option, so it is possible to construct an equivalent:
usermod -r -G somegroup someuser
While this is a vast improvement, I would argue this option was added to the wrong utility: groupmod should have the ability to remove a user from a group, the same as lgroupmod. It’s also fairly new (RHEL9 still has shadow-utils 4.9, for example).
Agreed. Have you tried opening an issue upstream and/or in RHEL bugzilla?
Regards, Dominik -- Fedora https://fedoraproject.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue