This file is indexed.

/etc/sudoers.d/99-maas-sudoers is in maas-rack-controller 2.0.0~beta3+bzr4941-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
11
12
13
14
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 status tgt
maas ALL= NOPASSWD: /bin/systemctl start tgt
maas ALL= NOPASSWD: /usr/sbin/maas-rack
maas ALL= NOPASSWD: SETENV: /usr/sbin/tgt-admin, /usr/bin/uec2roottar
maas ALL= NOPASSWD: /usr/bin/lshw
maas ALL= NOPASSWD: /sbin/blockdev