Hello, and welcome!
Quote:
Originally Posted by kervalis
...probably a better way to go about this.
|
Yes, there is. When you use DHCP, the dhclient(8) program recreates this file. You can use a resolv.conf.tail(5) file to append lines to the file whenever it is recreated, or, you can use a dhclient.conf(5) file to supersede nameserver values obtained from the DHCP server during negotiation.
Quote:
...i did login in single user mode but didn't have access to the chflags command.
|
chflags(1) is in /usr/bin. You'll need to mount(8) your /usr filesystem while in single-user mode. Or drop to single-user mode from multi-user mode, with shutdown(8). It leaves your mounts mounted.