opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
141 stars 35 forks source link

/etc/onabase: Permission denied #167

Closed Joe-Louis closed 3 years ago

Joe-Louis commented 3 years ago

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

Joe-Louis commented 3 years ago

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.