diff options
-rw-r--r-- | chapter05/tar-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/create-utmp.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index dc45e2ba2..bec453e4a 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -12,7 +12,7 @@ for gzip files).</para> <para>Install Tar by running the following commands:</para> -<para><screen><userinput>./configure --prefix=$LFS/static --disable-nls && +<para><screen><userinput>./configure --prefix=$LFS/static --disable-nls && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml index 56ea77790..a8fe88450 100644 --- a/chapter06/create-utmp.xml +++ b/chapter06/create-utmp.xml @@ -11,7 +11,7 @@ bad login attempts.</para> <para>Create these files with their proper permissions by running the following commands:</para> -<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && +<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para> </sect2> |