Installing Microsoft's "mdatp" package fails, the installation output requesting a password

Solution Verified - Updated -

Issue

  • Trying to install mdatp package on a CIS hardened system, the installation fails due to the package requesting a password that cannot be entered

    Is this ok [y/N]: y
    Downloading Packages:
    [SKIPPED] mdatp_101.98.64.x86_64.rpm: Already downloaded                                                                                                   
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Running scriptlet: mdatp-101.98.64-1.x86_64                                                                                                           1/1 
      Preparing        :                                                                                                                                    1/1 
      Running scriptlet: mdatp-101.98.64-1.x86_64                                                                                                           1/1 
    Current password: 
    [...]
    /var/tmp/rpm-tmp.WlFXxS: line 53: $cert_file: ambiguous redirect
    sudo: Account or password is expired, reset your password and try again
    sudo: unable to change expired password: Authentication token manipulation error
    Telemetry could not be submitted
    /var/tmp/rpm-tmp.WlFXxS: line 182: LogInfo: command not found
    sudo: Account or password is expired, reset your password and try again
    

Environment

  • Red Hat Enterprise Linux 8
    • Microsoft mdatp
    • STIG hardening

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content