View Single Post
  #2   (View Single Post)  
Old 2nd May 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Hello, and welcome!
Quote:
Originally Posted by kervalis View Post
...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.

Last edited by jggimi; 2nd May 2019 at 03:03 PM. Reason: added dropping from multi-user
Reply With Quote