linuxmuster/linuxmuster-base7

View on GitHub
share/templates/webui-sudoers

Summary

Maintainability
Test Coverage
# /etc/sudoers.d/linuxmuster
#
# thomas@linuxmuster.net
# 20220730
#
# sudoer groups for webui
#

%@@sambadomain@@\\role-student ALL=(ALL:ALL) NOPASSWD: /usr/sbin/sophomorix-passwd,/usr/sbin/sophomorix-query,/usr/sbin/sophomorix-session,/usr/sbin/sophomorix-user-custom
%@@sambadomain@@\\role-teacher ALL=(ALL:ALL) NOPASSWD:ALL
%@@sambadomain@@\\role-globaladministrator ALL=(ALL:ALL) NOPASSWD:ALL
%@@sambadomain@@\\role-schooladministrator ALL=(ALL:ALL) NOPASSWD:ALL

Cmnd_Alias SOPHPASS = /usr/sbin/sophomorix-passwd
Defaults!SOPHPASS !syslog