mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Added one more nodump attribute.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
71ba45f779
commit
cad7b50152
@ -29,7 +29,7 @@ EOF</userinput></screen>
|
||||
<para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote>
|
||||
used here is just a placeholder) will be set later.</para>
|
||||
|
||||
<para>Create the <filename>/etc/group</filename> file by running the following
|
||||
<para>Create the <filename>/etc/group</filename> file by running the following
|
||||
command:</para>
|
||||
|
||||
<screen><userinput>cat > /etc/group << "EOF"
|
||||
@ -67,7 +67,7 @@ linkend="chapter-temporary-tools"/> and the
|
||||
files have been created, user name and group name resolution will now
|
||||
work.</para>
|
||||
|
||||
<screen><userinput>exec /tools/bin/bash --login +h</userinput></screen>
|
||||
<screen role="nodump"><userinput>exec /tools/bin/bash --login +h</userinput></screen>
|
||||
|
||||
<para>Note the use of the <parameter>+h</parameter> directive. This tells
|
||||
<command>bash</command> not to use its internal path hashing. Without this
|
||||
@ -80,7 +80,7 @@ of this chapter.</para>
|
||||
<command>init</command> programs (and others) use a number of log
|
||||
files to record information such as who was logged into the system and
|
||||
when. However, these programs will not write to the log files if they
|
||||
do not already exist. Initialize the log files and give them
|
||||
do not already exist. Initialize the log files and give them
|
||||
proper permissions:</para>
|
||||
|
||||
<screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
|
||||
|
Loading…
Reference in New Issue
Block a user