- Timestamp:
- Jan 8, 2014, 11:28:36 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 124fbb6d
- Parents:
- 0ddb5ca
- Location:
- BOOK
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/pwdgroup.xml
r0ddb5ca r2be952c 202 202 group's name.</para> 203 203 204 <para os="f">The <command>login</command>, <command>agetty</command>, and205 <command>init</command> programs (and others) use a number of log206 files to record information such as who was logged into the system and207 when. However, these programs will not write to the log files if they208 do not already exist. Initialize the log files and give them209 proper permissions:</para>210 211 <screen><userinput>touch ${CLFS}/var/run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}212 chmod -v 664 ${CLFS}/var/run/utmp ${CLFS}/var/log/lastlog213 chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen>214 215 <para>The <filename>/var/run/utmp</filename> file records the users216 that are currently logged in. The <filename>/var/log/wtmp</filename>217 file records all logins and logouts. The218 <filename>/var/log/lastlog</filename> file records when219 each user last logged in. The <filename>/var/log/btmp</filename> file220 records the bad login attempts.</para>221 222 204 </sect1> -
BOOK/chroot/common/pwdgroup.xml
r0ddb5ca r2be952c 102 102 for the duration of the next chapters.</para> 103 103 104 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"105 href="../../boot/common/pwdgroup.xml"106 xpointer="xpointer(//*[@os='f'])"/>107 108 <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}109 chgrp -v utmp /var/run/utmp /var/log/lastlog110 chmod -v 664 /var/run/utmp /var/log/lastlog111 chmod -v 600 /var/log/btmp</userinput></screen>112 113 <para>The <filename>/var/run/utmp</filename> file records the users that114 are currently logged in. The <filename>/var/log/wtmp</filename> file records115 all logins and logouts. The <filename>/var/log/lastlog</filename> file116 records when each user last logged in. The <filename>/var/log/btmp</filename>117 file records the bad login attempts.</para>118 119 104 </sect1> -
BOOK/introduction/common/changelog.xml
r0ddb5ca r2be952c 41 41 <itemizedlist> 42 42 <listitem> 43 <para>[Chris] - Removed commands to create files in /var/run and 44 /var/log - systemd now used its journal for all logs.</para> 45 </listitem> 46 <listitem> 43 47 <para>[Chris] - Removed obsolete sed command from temp-system Coreutils.</para> 44 48 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.