# User alias specification User_Alias VTUSER = vtuser # Cmnd alias specification Cmnd_Alias VISIBLETHREAD_CMDS = /bin/yum, \ /bin/dnf, \ /bin/tail *, \ /bin/su - postgres, \ /bin/su - visiblethread, \ /bin/systemctl * httpd, \ /bin/systemctl * postgresql, \ /bin/systemctl * httpd-init, \ /bin/systemctl * visiblethread, \ /bin/systemctl * vt-readability, \ /bin/systemctl * vt-doc-worker, \ /bin/systemctl * vt-scan-worker, \ /bin/systemctl * vt-text-worker, \ /bin/systemctl * vt-text-worker2, \ /bin/systemctl * vt-web-worker, \ /bin/bash /etc/default/* \ /bin/bash /var/log/* \ /bin/bash /opt/visiblethread/api/setup/configure-visiblethreaded.sh, \ /bin/bash /opt/visiblethread/api/setup/vtapi-db-upgrade/bin/upgrade-visiblethread.sh *, \ /bin/bash /opt/visiblethread/setup/configure-*.sh, \ /bin/bash /opt/visiblethread/VisibleThreadTools/*.sh * # Allow user vuser to execute the specified commands without a password VTUSER ALL = NOPASSWD: VISIBLETHREAD_CMDS