Can anyone help me with this.
I am working on a Kodibuntu box, but I do not have root access. I do however have superuser access with the built in kodi account.
What I am needing to do is modify the dns settings in the /etc/resolv.conf file.
So, I am logging in as the kodi user, then I am typing sudo su, or sudo -i and getting root level access.
I am then modifying the /etc/resolv.conf file by using vi, and saving the file.
I can then look in Kodi and view the network settings, and can see that they have changed. Also the plugin I needed to change the settings for is working.
Unfortunately, the problem I have is that when I reboot the machine, the /etcresolv.conf file reverts back to its original format, minus the changes I have made. How is it doing this ?????
If I type ls -ltr /etc/resolv.conf after I have made the changes, but before a reboot, I see the following :
lrwxrwxrwx 1 root root 29 Dec 26 13:06 resolv.conf -> ../run/resolvconf/resolv.conf
I have tried chmod'ing the file to 555 to prevent write access, but it makes no difference.
Anyone know whats going on, and how I can stop it ?