/etc/sudoers.d/99-maas-sudoers is in maas-rack-controller 2.4.0~beta2-6865-gec43e47e6-0ubuntu1.
This file is owned by root:root, with mode 0o440.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | maas ALL= NOPASSWD: /bin/systemctl status maas-dhcpd
maas ALL= NOPASSWD: /bin/systemctl start maas-dhcpd
maas ALL= NOPASSWD: /bin/systemctl restart maas-dhcpd
maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd
maas ALL= NOPASSWD: /bin/systemctl status maas-dhcpd6
maas ALL= NOPASSWD: /bin/systemctl start maas-dhcpd6
maas ALL= NOPASSWD: /bin/systemctl restart maas-dhcpd6
maas ALL= NOPASSWD: /bin/systemctl stop maas-dhcpd6
maas ALL= NOPASSWD: /bin/systemctl disable maas-rackd
maas ALL= NOPASSWD: /bin/systemctl stop maas-rackd
|