diff options
-rw-r--r-- | chapter06/bootscripts-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/create-utmp.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chapter06/bootscripts-inst.xml b/chapter06/bootscripts-inst.xml index 2e7556e41..d0bef6d87 100644 --- a/chapter06/bootscripts-inst.xml +++ b/chapter06/bootscripts-inst.xml @@ -3,7 +3,7 @@ <para>Install LFS-Bootscripts by running the following command:</para> -<para><screen><userinput>cp -a rc.d sysconfig /etc && +<para><screen><userinput>cp -a rc.d sysconfig /etc && chown -R root.root /etc/rc.d /etc/sysconfig</userinput></screen></para> </sect2> diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml index cba14660b..56ea77790 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> |