example of /etc/sudoers line

This commit is contained in:
dg9vh 2016-11-04 10:40:49 +00:00
parent ad1b0bf285
commit 769cd5bbf8

View file

@ -1,6 +1,11 @@
# Switching Networks # Switching Networks
To make switching networks possible you have to fulfill following conditions: To make switching networks possible you have to fulfill following conditions:
1. add www-user to the sudoers file to be able to execute following commands: cp, killall, MMDVMHost 1. add www-user to the sudoers file to be able to execute following commands: cp, killall, MMDVMHost
You can do this for example with following line:
www-data ALL=(ALL) NOPASSWD: /bin/cp,/usr/local/bin/MMDVMHost,/usr/bin/killall,/sbin/halt,/sbin/reboot
2. create two ini-files, one with the name DMRPLUS.ini and the other with the name BRANDMEISTER.ini within the same directory where your MMDVM.ini resists, that contains the configurations for the corresponding networks. 2. create two ini-files, one with the name DMRPLUS.ini and the other with the name BRANDMEISTER.ini within the same directory where your MMDVM.ini resists, that contains the configurations for the corresponding networks.
## Security Hint ## Security Hint