mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Add ipv6 localhost in Chapter 7 hosts file
This commit is contained in:
parent
99ee345ad6
commit
2013a74b0d
@ -47,7 +47,10 @@
|
||||
referenced in some test suites, and in one of Perl's configuration files
|
||||
as well:</para>
|
||||
|
||||
<screen><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>
|
||||
<screen><userinput>cat > /etc/hosts << EOF
|
||||
"127.0.0.1 localhost $(hostname)"
|
||||
::1 localhost
|
||||
EOF</userinput></screen>
|
||||
|
||||
<para>In order for user <systemitem class="username">root</systemitem> to be
|
||||
able to login and for the name <quote>root</quote> to be recognized, there
|
||||
|
Loading…
Reference in New Issue
Block a user