ssmtpmailtesting ssmtpmailtesting wrote:
I added: echo myhostname > /proc/sys/kernel/hostname
Still same prompt = root@(none)
But if I install lfs-bootscript, then it changes to root@myhostname.
I also added /etc/fstab and /etc/inittab
Did I miss anything?
Yes. For systemd, Section 7.2.3.
Af
I added: echo myhostname > /proc/sys/kernel/hostname
Still same prompt = root@(none)
But if I install lfs-bootscript, then it changes to root@myhostname.
I also added /etc/fstab and /etc/inittab
Did I miss anything?
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfr
On Mon, 13 Feb 2017 07:34:07 +0600
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 "m