%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl start ztessc_scan
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop  ztessc_scan
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl enable  ztessc_scan
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl disable ztessc_scan

%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl start  ztessc_sane
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl stop  ztessc_sane
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl enable  ztessc_sane
%sudo ALL=(ALL) NOPASSWD: /usr/bin/systemctl disable  ztessc_sane



%sudo ALL=(ALL) NOPASSWD: /usr/bin/rm -rf /opt/ztessc_scan/twain_client
%sudo ALL=(ALL) NOPASSWD: /usr/bin/rm -rf /opt/ztessc_scan/web_ui
%sudo ALL=(ALL) NOPASSWD: /usr/bin/rm -rf /opt/ztessc_scan/venv

%sudo ALL=(ALL) NOPASSWD: /usr/bin/tar -xf /opt/ztessc_scan/twain_client.tar -C /opt/ztessc_scan/
%sudo ALL=(ALL) NOPASSWD: /usr/bin/tar -xf /opt/ztessc_scan/venv.tar -C /opt/ztessc_scan/
%sudo ALL=(ALL) NOPASSWD: /usr/bin/tar -xf /opt/ztessc_scan/web_ui.tar -C /opt/ztessc_scan/
%sudo ALL=(ALL) NOPASSWD: /usr/bin/chmod 666 /opt/ztessc_scan/web_ui/data/data.db

%sudo ALL=(ALL) NOPASSWD: /usr/sbin/smartctl --all /dev/*
