I am trying to get ONA setup on a ubuntu 18.04 server. I have ran into a small problem where nmap, build_isc_dhcp, Build_Bind all require me to run a echo command. I have disabled apparmour on the server for now. I keep getting Permission Denied when i try to run it as both www-data and sudo. The command i am having problems with is listed below. Please let me know if there is something i am missing with this. The app looks really good and would love to use it fully. Thank you in advance.
i was able to figure out the way i was passing the command was not sending the full command with all the permissions. i needed to elevate my account to root to get around the issue.
I am trying to get ONA setup on a ubuntu 18.04 server. I have ran into a small problem where nmap, build_isc_dhcp, Build_Bind all require me to run a echo command. I have disabled apparmour on the server for now. I keep getting Permission Denied when i try to run it as both www-data and sudo. The command i am having problems with is listed below. Please let me know if there is something i am missing with this. The app looks really good and would love to use it fully. Thank you in advance.
echo '/opt/ona' > /etc/onabase