On Mon, February 13, 2017 01:34, ssmtpmailtesting ssmtpmailtesting wrote: > How is hostname set? I'm not using lfs-bootscripts. After login, I see > root@(none). Why is this? If I do sysctl kernel.hostname, it shows > can't open /proc/sys... no such file or directory. But /etc/hostname > has "myhostname". > > I want to set hostname manually. I don't want to use lfs-bootscript.
Hello, https://www.gnu.org/software/coreutils/manual/html_node/hostname-invocation.html You can use coreutils hostname program. Sincerely, William Harrington -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
