mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-16 01:05:10 +01:00
Simplified the commands to create the utmp, btmp, lastlog and wtmp files.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1503 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b18e6e2a3b
commit
953ccfe8a9
@ -24,6 +24,10 @@
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
|
<listitem><para>January 30th, 2002 [gerard]: Chapter 6 - Configure
|
||||||
|
software: Simplified the commands to create the utmp, btmp, lastlog and
|
||||||
|
wtmp files.</para></listitem>
|
||||||
|
|
||||||
<listitem><para>January 30th, 2002 [gerard]: Chapter1: Moved
|
<listitem><para>January 30th, 2002 [gerard]: Chapter1: Moved
|
||||||
Acknowledgements to be displayed as the first page in chapter
|
Acknowledgements to be displayed as the first page in chapter
|
||||||
1.</para></listitem>
|
1.</para></listitem>
|
||||||
|
@ -11,10 +11,8 @@ bad login attempts.</para>
|
|||||||
<para>Create these files with their proper permissions by running the
|
<para>Create these files with their proper permissions by running the
|
||||||
following commands:</para>
|
following commands:</para>
|
||||||
|
|
||||||
<para><screen><userinput>touch /var/run/utmp /var/log/wtmp \
|
<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &&
|
||||||
/var/log/btmp /var/log/lastlog &&
|
chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp}</userinput></screen></para>
|
||||||
chmod 644 /var/run/utmp /var/log/wtmp \
|
|
||||||
/var/log/btmp /var/log/lastlog</userinput></screen></para>
|
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user