View Single Post
Old 7th July 2018
therue therue is offline
Port Guard
Join Date: Feb 2018
Posts: 11

if i want to change the host name from the default that was created from installation so it doesn't contain .my.domain:

i need to modify /etc/myname


and also modify /etc/hosts
>from localhost
::1 localhost

>to localhost therue
::1 localhost therue

is this correct? putting the hostname i want in the alias section of the entries?

FROM myname(5) man page:
"/etc/myname contains the symbolic name of the host machine. The file should contain a single line specifying the fully qualified domain name (FQDN) of the system (e.g. The name must be resolvable, either by matching a hostname specified in /etc/hosts (see hosts(5)) or through DNS (see resolv.conf(5)). "

Last edited by therue; 7th July 2018 at 05:15 PM.
Reply With Quote