SSH dmidecode probe fails with "No supported privileged command found, running as current user" error
When running discovery against a Linux/UNIX server, the dmidecode probe fails with the following warning message in the Discovery log:
"No supported privileged command found, running as current user"
This error occurs despite the must_sudo probe parameter being correctly configured to true and the appropriate SSH credentials set.
Upon enabling debug of the MID Server, the following error message is displayed in the MID Server agent log when the dmidecode probe attempts to contact the target server:
Worker-Interactive:SSHCommand DEBUG: Fail to detect sudo on target: sudo: unable to cache group <group name> already exists - Exit status: 1
This problem is caused by a bug in some sudo packages. Refer to the following RedHat errata page for a possible fix: