Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #184636

Re: Network config

From Zenaan Harkness <zenaan@freedbms.net>
Newsgroups linux.debian.user
Subject Re: Network config
Date 2017-08-04 16:20 +0200
Message-ID <uaLCi-867-19@gated-at.bofh.it> (permalink)
References (4 earlier) <uacXU-12E-5@gated-at.bofh.it> <uanTj-8vF-5@gated-at.bofh.it> <uaoPn-Jx-3@gated-at.bofh.it> <uatm2-3Td-17@gated-at.bofh.it> <uaFZU-4wN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 04, 2017 at 10:14:20AM +0200, tomas@tuxteam.de wrote:
> On Thu, Aug 03, 2017 at 08:49:05PM +0200, Pascal Hambourg wrote:
> > Le 03/08/2017 à 15:52, Zenaan Harkness a écrit :
> > >On Thu, Aug 03, 2017 at 08:53:27AM -0400, Greg Wooledge wrote:
> > >>But the problem is, various Unix DHCP client daemons do *too much*.
> > >>All I want them to do is set the IP address, netmask, and gateway.
> > >>I *don't* want them to change the system hostname, or the system
> > >>resolv.conf (in which I have hand-placed *our* DNS search domain and
> > >>*our* DNS resolvers).
> > >
> > >Well, making /etc/resolv.conf read-only, owned by root.root
> > 
> > ... is just useless. resolv.conf is already owned by root, DCHP
> > client daemons run as root and on Linux systems root (uid 0) ignores
> > read/write permissions.
> 
> That's what chattr +i is for. Don't forget to do chattr -i on the file
> whenever *you* want to change it :-)

Another command that could be add to /e/n/i :)

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Network config ruslan axundov <raxundov@gmail.com> - 2017-08-02 16:10 +0200
  Re: Network config Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-02 16:20 +0200
    Re: Network config Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-08-02 20:20 +0200
      Re: Network config Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-02 21:00 +0200
        Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-03 03:20 +0200
          Re: Network config Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-03 15:00 +0200
            Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-03 16:00 +0200
              Re: Network config Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-08-03 20:50 +0200
                Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-04 03:00 +0200
                Re: Network config Joe <joe@jretrading.com> - 2017-08-04 10:10 +0200
                Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-04 17:10 +0200
                Re: Network config <tomas@tuxteam.de> - 2017-08-04 10:20 +0200
                Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-04 16:20 +0200
                Re: Network config <tomas@tuxteam.de> - 2017-08-05 10:20 +0200
                Re: Network config Gene Heskett <gheskett@shentel.net> - 2017-08-05 16:40 +0200
                Re: Network config <tomas@tuxteam.de> - 2017-08-05 17:00 +0200
  Re: Network config Zenaan Harkness <zenaan@freedbms.net> - 2017-08-03 03:00 +0200
    Re: Network config Joshua Schaeffer <jschaeffer0922@gmail.com> - 2017-08-03 17:30 +0200
      Re: Network config Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-08-03 21:00 +0200
        Re: Network config Henning Follmann <hfollmann@itcfollmann.com> - 2017-08-03 21:30 +0200

csiph-web