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


Groups > linux.debian.user > #232002

Re: Got a machine name problem

From Gene Heskett <gheskett@shentel.net>
Newsgroups linux.debian.user
Subject Re: Got a machine name problem
Date 2021-02-24 02:30 +0100
Message-ID <BLRa1-8lO-1@gated-at.bofh.it> (permalink)
References <BLK8x-3Vl-3@gated-at.bofh.it> <BLLxD-4YR-3@gated-at.bofh.it> <BLQdX-7Np-3@gated-at.bofh.it>
Organization none,nada,zip

Show all headers | View raw


On Tuesday 23 February 2021 19:22:19 James B wrote:

> With systemd-based Debian, the probably now best way to set a hostname
> is with:
>
> hostnamectl set-hostname NAME
>
> What Tom suggested is completely valid, but hostnamectl should I
> understand be the preferred route as I believe it will update
> everything necessary automatically.Doing it this way will also be a
> persistent change.
>
> James

Does this also have a set-domainname option? This also is disappearing on 
a reboot. Not ack the man page so I assume there is a different method 
to handle that?

Thanks James.

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>

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


Thread

Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-23 19:00 +0100
  Re: Got a machine name problem Dan Ritter <dsr@randomstring.org> - 2021-02-23 19:10 +0100
  Re: Got a machine name problem Tom Browder <tom.browder@gmail.com> - 2021-02-23 20:30 +0100
    Re: Got a machine name problem "James B" <portoteacher80@fastmail.com> - 2021-02-24 01:30 +0100
      Re: Got a machine name problem "James B" <portoteacher80@fastmail.com> - 2021-02-24 01:30 +0100
      Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 02:30 +0100
        Re: Got a machine name problem <tomas@tuxteam.de> - 2021-02-24 09:40 +0100
          Re: Got a machine name problem <tomas@tuxteam.de> - 2021-02-24 12:20 +0100
            Re: Got a machine name problem Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-24 16:20 +0100
          Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 12:20 +0100
            Re: Got a machine name problem Greg Wooledge <greg@wooledge.org> - 2021-02-24 14:50 +0100
              Re: Got a machine name problem Tom Browder <tom.browder@gmail.com> - 2021-02-24 15:00 +0100
                Re: Got a machine name problem Greg Wooledge <greg@wooledge.org> - 2021-02-24 15:20 +0100
                Re: Got a machine name problem Tom Browder <tom.browder@gmail.com> - 2021-02-24 15:30 +0100
              Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 18:30 +0100
                Re: Got a machine name problem Greg Wooledge <greg@wooledge.org> - 2021-02-24 19:00 +0100
                Re: Got a machine name problem IL Ka <kazakevichilya@gmail.com> - 2021-02-24 19:20 +0100
                Re: Got a machine name problem Celejar <celejar@gmail.com> - 2021-02-24 19:00 +0100
    Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 02:10 +0100
      Re: Got a machine name problem David Wright <deblis@lionunicorn.co.uk> - 2021-02-24 02:40 +0100
        Re: Got a machine name problem Tom Browder <tom.browder@gmail.com> - 2021-02-24 03:30 +0100
        Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 04:30 +0100
      Re: Got a machine name problem Stefan Monnier <monnier@iro.umontreal.ca> - 2021-02-24 06:00 +0100
        Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 06:10 +0100
          OT: Spicy stuff in sensitive areas (was Re: Got a machine name problem) The Wanderer <wanderer@fastmail.fm> - 2021-02-24 12:20 +0100
      Re: Got a machine name problem Brian <ad44@cityscape.co.uk> - 2021-02-24 15:20 +0100
        Re: Got a machine name problem Brian <ad44@cityscape.co.uk> - 2021-02-24 21:20 +0100
  Re: Got a machine name problem David Christensen <dpchrist@holgerdanske.com> - 2021-02-24 03:00 +0100
    Re: Got a machine name problem David Wright <deblis@lionunicorn.co.uk> - 2021-02-24 06:00 +0100
  Re: Got a machine name problem "Andrew M.A. Cater" <amacater@einval.com> - 2021-02-24 12:20 +0100
    Re: Got a machine name problem Gene Heskett <gheskett@shentel.net> - 2021-02-24 12:30 +0100

csiph-web