0

I have CentOS 7 server and there is one non-root level user named user1. That user1 only has the permissions to start, stop, enable and disable for Zabbix Services (allow these service in sudoers file). But that user1 can use 'systemctl poweroff' and 'systemctl reboot' without sudo. I would like to prevent it. How can I prevent usage of systemctl poweroff/reboot on user1?

Mg Nyi Naing
  • 103
  • 3
  • 12

0 Answers0