Changing host names in Slackware


Recommended Posts

Hopefully, I won't need to ask anymore questions after this, but I'm curious about changing the host name for my computer. By default, it is read as darkstar.example.net and I want to change it so if I need to restart my computer, the address won't change. I tried just changing the /etc/HOSTNAME file, but I'm sure that's not enough because if I do the change, the host is just known as anonymous. What files need to be changed if I want to change the host name?

Thanks in advance.

Link to comment
https://www.neowin.net/forum/topic/130070-changing-host-names-in-slackware/
Share on other sites

  Webgraph said:
Oh, and through that, I learned that one other file had to be changed as well.  Thanks.  Now my FTP server doesn't need address changes on every reboot.

Glad I could help! :)

And, as you will learn, rebooting to make changes is a Windows Thing, and is only needed in Linux to change kernels or add hardware. :D

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.