sudo-project / sudo

Utility to execute a command as another user
https://www.sudo.ws
Other
1.15k stars 208 forks source link

1.9.15rc3-1 sudo: unable to cache group list for root, already exists #322

Closed loopway closed 8 months ago

loopway commented 8 months ago

Testing log_subcmds on AIX 7.3 with 1.9.15rc3-1 (to resolve #289). Getting an (unrelated?) error/warning message:

# sudo -l
sudo: unable to cache group list for root, already exists
...
millert commented 8 months ago

Does this happen when you run a command via sudo as well or just when you run sudo -l?

loopway commented 8 months ago

It does also happen when I run a command via sudo.

millert commented 8 months ago

I'm afraid I'm unable to reproduce this on an AIX 7.1 test system, but that may be due to only having local users and none via LDAP. Can you try https://www.sudo.ws/testing/sudo-1.9.15rc4-1.aix73.rpm and if it has the same problem, also add the following to /etc/sudo.conf?

Debug sudoers.a(sudoers.so) /var/log/sudoers_debug nss@debug

and run sudo -l again? The debug file will help me understand where the problem lies. You can send the debug log to sudo@sudo.ws.

loopway commented 8 months ago

It does not happen anymore with the provided rc4 binary. Thanks!