sudo: allow ufw (#39)

Reviewed-on: https://git.nasp.ob.ac.cn/NASP/registry/pulls/39
Co-authored-by: Dict Xiong <me@beardic.cn>
Co-committed-by: Dict Xiong <me@beardic.cn>
This commit is contained in:
Dict Xiong 2023-11-22 20:15:30 +08:00 committed by DictXiong
parent ab40c88cbd
commit baf7b64749

View File

@ -3,3 +3,4 @@
%nasp ALL = (root) NOPASSWD: /usr/bin/whoami %nasp ALL = (root) NOPASSWD: /usr/bin/whoami
%nasp ALL = (root) NOPASSWD: /usr/bin/nvidia-smi %nasp ALL = (root) NOPASSWD: /usr/bin/nvidia-smi
%nasp ALL = (root) NOPASSWD: /usr/sbin/shutdown %nasp ALL = (root) NOPASSWD: /usr/sbin/shutdown
%nasp ALL = (root) NOPASSWD: /usr/sbin/ufw