diff --git a/README.md b/README.md index 00ef2b0..a288677 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # moha -My Own Home Assistant \ No newline at end of file +My Own Home Assistant + + +You must configure sudoers to allow usr domotique to execute nmap and systemctl restart presenceD.service + +/etc/sudoers: + +Cmnd_Alias DOM = /usr/bin/nmap, /usr/bin/systemctl restart presenceD.service +domotique ALL=(ALL) NOPASSWD: DOM