root@e2ce84425d30:/# curl_rest https://host.containers.internal:58080/api/connections {"connections":[{"name":"Wired connection 1","state":"activated","uuid":"ef799fd5-6104-3b0e-9726-fee1d6e3d139","ctype":"802-3-ethernet","device":"eth0"},{"name ":"lo","state":"activated","uuid":"e85d0808-4167-4ca5-9a15-334d0fd51edc","ctype":"loopback","device":"lo"}]} http code: 200 root@e2ce84425d30:/# curl_rest -X POST https://host.containers.internal:58080/api/custom/print_args.sh -H 'Content-type: application/json' -d '{"root":true}' {"stderr":"doas: Operation not permitted\n"} {"exit_code":1} http code: 200 root@e2ce84425d30:/# exit exit /home/atmark # cat /etc/doas.d/abos_web_customize.conf permit nopass abos-web-admin as root cmd /etc/atmark/abos_web/customize_rest/ssid_list.sh /home/atmark # cat /etc/atmark/abos_web/customize_rest/ssid_list.sh #!/bin/sh iw dev wlan0 scan | grep "SSID:" | cut -d: -f2 | tr -d " " /home/atmark # ls /etc/atmark/abos_web/customize_rest/ -la total 3 drwxr-xr-x 2 root root 1024 Dec 6 10:53 . drwxr-xr-x 5 abos-web abos-web 1024 Dec 6 10:53 .. -rwxr-xr-x 1 root root 75 Dec 6 10:52 ssid_list.sh /home/atmark #