- Timestamp:
- Jul 9, 2014, 10:55:57 PM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- a4fd97e
- Parents:
- 87da537
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/pwdgroup.xml
r87da537 r1e08a9b 18 18 <indexterm zone="ch-boot-pwdgroup"> 19 19 <primary sortas="e-/etc/group">/etc/group</primary> 20 <secondary>boot</secondary>21 </indexterm>22 23 <indexterm zone="ch-boot-pwdgroup">24 <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>25 20 <secondary>boot</secondary> 26 21 </indexterm> … … 194 189 proper permissions:</para> 195 190 196 <screen os="g"><userinput>touch ${CLFS}/var/ run/utmp ${CLFS}/var/log/{btmp,lastlog,wtmp}197 chgrp -v &gid-utmp; ${CLFS}/var/ run/utmp ${CLFS}/var/log/lastlog198 chmod -v 664 ${CLFS}/var/ run/utmp ${CLFS}/var/log/lastlog191 <screen os="g"><userinput>touch ${CLFS}/var/log/{btmp,lastlog,wtmp} 192 chgrp -v &gid-utmp; ${CLFS}/var/log/lastlog 193 chmod -v 664 ${CLFS}/var/log/lastlog 199 194 chmod -v 600 ${CLFS}/var/log/btmp</userinput></screen> 200 195 201 <para os="h">The <filename>/var/run/utmp</filename> file records the users 202 that are currently logged in. The <filename>/var/log/wtmp</filename> 196 <para os="h">The <filename>/var/log/wtmp</filename> 203 197 file records all logins and logouts. The 204 198 <filename>/var/log/lastlog</filename> file records when
Note:
See TracChangeset
for help on using the changeset viewer.