systemctl status ntpd command fails with"Failed to get D-Bus connection: Permission denied" only when it's executed by a specific user only

Solution Verified - Updated -

Issue

  • One user cannot run systemctl status ntpd. It outputs the following error.
$ systemctl status ntpd
Failed to get D-Bus connection: Permission denied
  • Any other user can run the same command successfully.

Environment

Red Hat Enterprise Linux 7

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