sudo /usr/bin/nvidia-smi

This commit is contained in:
xiongdian.me 2023-04-28 16:41:20 +08:00
parent 4026106afb
commit 746d326356

View File

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