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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
