From e7b73a9f3bb7d3f1e2a5be553817906614acdc86 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Thu, 24 Nov 2016 16:03:43 +0000 Subject: [PATCH] use visudo! --- switching-networks.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/switching-networks.md b/switching-networks.md index cab6808..3767a47 100644 --- a/switching-networks.md +++ b/switching-networks.md @@ -1,11 +1,16 @@ # Switching Networks 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 /etc/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 + +HINT: PLEASE(!) only use visudo for editing the sudoers-file! This validates the file before writing it on the +hard-disk. Otherwise there is heavy danger to damange your sudo-system, if you got any error/typo within the line! + + 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