systemctl status ntpd command fails with"Failed to get D-Bus connection: Permission denied" only when it's executed by a specific user only
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.