sudoers.conf 619 B

123456789101112
  1. Cmnd_Alias HOTSPOT_YUNOHOST = /usr/bin/yunohost app info hotspot *,\
  2. /usr/bin/yunohost app setting hotspot *,\
  3. /usr/bin/yunohost app setting vpnclient *
  4. Cmnd_Alias HOTSPOT_SERVICE = /bin/systemctl stop ynh-hotspot,\
  5. /bin/systemctl start ynh-hotspot
  6. Cmnd_Alias HOTSPOT_MISC = /usr/local/bin/ynh-hotspot *,\
  7. /usr/local/bin/iw_devices *,\
  8. /usr/local/bin/iw_multissid *
  9. __HOTSPOT_SYSUSER__ ALL = NOPASSWD: /bin/grep, HOTSPOT_YUNOHOST, HOTSPOT_SERVICE, HOTSPOT_MISC