Changeset 2be952c for BOOK/chroot
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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>
Note:
See TracChangeset
for help on using the changeset viewer.