I would like to allow every linux user to see the status of all systemd services.
I created these lines for the /etc/sudoers file:
ALL ALL = NOPASSWD: /usr/bin/systemctl is-active *
ALL ALL = NOPASSWD: /usr/bin/systemctl is-enabled *
ALL ALL = NOPASSWD: /usr/bin/systemctl status *
Are there any security risks which I might not see at the moment?
The fact that every linux use can see the status of all services is not a security risk in my case.