199 views

SSH dmidecode probe fails with "No supported privileged command found, running as current user" error

Problem


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. 

Solution


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:

https://rhn.redhat.com/errata/RHBA-2013-0616.html

 

Article Information

Last Updated:2017-10-05 10:57:48
Published:2017-06-20