[sudo-workers] Sudo takes a long time resolving user's GIDs

Tomas Sykora tosykora at redhat.com
Tue Aug 30 02:44:31 MDT 2016


Hi
a customer had a problem with sudo, because it resolved all user's GIDs although the groups were not in the sudoers file (It was probably bacause of the function sudo_getgrgid, which was called for every user's GID) and so it took quite a lot of time. I thought that the issue is fixed in the new release with this https://www.sudo.ws/repos/sudo/rev/8ce3564e896e , but it seems that sudo still resolves all user's GIDs, the function sudo_getgrgid is called for every user's GID and so it still takes a lot of time on systems with lots of groups. So is there a bug in the new sudo or did I not understand the mentioned changes correctly?


More information about the sudo-workers mailing list