2 ms·
You have to be root to edit /etc/services ...
by amelius 6mo ago
You have to be root to edit /etc/services ...
- necovek 6mo agoI am pretty convinced you need root on most systems to update DNS resolution mechanism system-wide (eg. to edit /etc/hosts or run a local DNS server and put that into /etc/resolv.conf).
- MarsIronPI 6mo agoTechnically you can set the HOSTALIASES variable to point to a custom hosts file, but that only works with programs that use gethostbyname(3). (Which is most of them? IDK.)