This file is indexed.

/usr/sbin/mc-facts is in mcollective-client 1.2.1+dfsg-2ubuntu1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#!/usr/bin/env ruby

require 'mcollective'

if $0 =~ /mc\-(.+)$/
    app_name = $1

    if MCollective::Applications.list.include?(app_name)
        MCollective::Applications.run(app_name)
    else
        STDERR.puts "Cannot find the #{app_name} command in the applications plugin directory"
    end
else
    STDERR.puts "Do not know which command to run, please run mc help for details"
end