From f192ffc92f3d30a0f81df1b4cdbf81b7fd7fd92e Mon Sep 17 00:00:00 2001 From: jbperrin Date: Mon, 20 Jul 2026 19:04:37 +0200 Subject: [PATCH] Dashboard: boutons restart services, JH-Photomaton et reboot Pi --- Opencode/config/sudoers-jh-photomaton | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Opencode/config/sudoers-jh-photomaton b/Opencode/config/sudoers-jh-photomaton index 90d1c5c..7a31cbe 100644 --- a/Opencode/config/sudoers-jh-photomaton +++ b/Opencode/config/sudoers-jh-photomaton @@ -16,3 +16,9 @@ pi ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart dnsmasq.service pi ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart cups.service pi ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart jh-photomaton.service pi ALL=(ALL) NOPASSWD: /usr/sbin/reboot + +# Gestion des imprimantes CUPS (boutons activer/désactiver dans l'admin impression) +pi ALL=(ALL) NOPASSWD: /usr/sbin/cupsenable +pi ALL=(ALL) NOPASSWD: /usr/sbin/cupsdisable +pi ALL=(ALL) NOPASSWD: /usr/sbin/cupsaccept +pi ALL=(ALL) NOPASSWD: /usr/sbin/cupsreject