Re: armv7 vs buster problem #3
On Wednesday 03 July 2019 16:00:53 Andreas Jellinghaus wrote:
> domainname as in NIS? no idea.
>
> domainname as in fqdn hostname?
domainname portion of a fqdn, same as in the host file. I can set it by
the usual means, its there till I reboot, then its back to (none)
>
> echo $fqdn > /etc/hostname
> echo 127.0.0.1 $fqdn localhost > /etc/hosts
>
> works for me, and I hasn't been changed in years. Not sure if systemd
> will change something about this though.
Just one of the things its taken over. Now we have a different command to
set the hostname too if you want it to stick over a reboot. Someone a
couple weeks ago showed me how to do that for hostname only. I've no
clue how it does that because it can do it even if /etc/hostname has
been made immutable. In fact I'd call that a major security breech.
> Andreas
>
> Am Mi., 3. Juli 2019 um 21:17 Uhr schrieb Gene Heskett
> <gheskett@shentel.net
>
> > How do I set the domainname so it sticks over a reboot?
> >
> > Thanks a bunch.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
Reply to: