1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hotspot_ynh.git synced 2024-09-03 19:25:53 +02:00
hotspot_ynh/conf/sudoers.conf

13 lines
619 B
Text
Raw Normal View History

Cmnd_Alias HOTSPOT_YUNOHOST = /usr/bin/yunohost app info hotspot *,\
/usr/bin/yunohost app setting hotspot *,\
/usr/bin/yunohost app setting vpnclient *
Cmnd_Alias HOTSPOT_SERVICE = /bin/systemctl stop ynh-hotspot,\
/bin/systemctl start ynh-hotspot
Cmnd_Alias HOTSPOT_MISC = /usr/local/bin/ynh-hotspot *,\
/usr/local/bin/iw_devices *,\
/usr/local/bin/iw_multissid *
__HOTSPOT_SYSUSER__ ALL = NOPASSWD: /bin/grep, HOTSPOT_YUNOHOST, HOTSPOT_SERVICE, HOTSPOT_MISC