How Do You Get around the Message “AUTHENTICATING FOR org.freedesktop.systemd1.manage-units”?

Problem scenario
You are running a yum command or running a script on a RHEL server.  You get this prompt:

"==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to manage system services or units.
Authenticating as: Cloud User (ec2-user)
Password:
"

What do you do to troubleshoot this prompt as no password seems to work?

Solution
Cancel out of the prompt.  Re-run the command but this time with "sudo " in front of it.  Alternatively you could run "sudo su -" to assume the root user.  But it would be best to use "sudo " in front of the command you were trying to run.

Leave a comment

Your email address will not be published. Required fields are marked *