Ignore:
Timestamp:
Apr 20, 2014, 8:57:39 AM (11 years ago)
Author:
Chris Staub <chris@…>
Children:
0be79ea
Parents:
88ef769 (diff), 578ca586 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'systemd' into simp

Conflicts:

BOOK/final-system/common/bash.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/bash.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/general.ent
BOOK/packages.ent
BOOK/temp-system/common/bash.xml
BOOK/temp-system/mips64-64-chapter.xml
BOOK/temp-system/mips64-chapter.xml
BOOK/temp-system/multilib/bash.xml
BOOK/temp-system/ppc64-64-chapter.xml
BOOK/temp-system/ppc64-chapter.xml
BOOK/temp-system/sparc64-64-chapter.xml
BOOK/temp-system/sparc64-chapter.xml
BOOK/temp-system/x86_64-64-chapter.xml
BOOK/temp-system/x86_64-chapter.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/chroot/common/pwdgroup.xml

    r88ef769 r03e6a40  
    99  <?dbhtml filename="pwdgroup.html"?>
    1010
    11   <title>Creating the passwd, group, and log Files</title>
     11  <title>Creating the passwd and group Files</title>
    1212
    1313  <indexterm zone="ch-chroot-pwdgroup">
     
    1717  <indexterm zone="ch-chroot-pwdgroup">
    1818    <primary sortas="e-/etc/group">/etc/group</primary>
    19   </indexterm>
    20 
    21   <indexterm zone="ch-chroot-pwdgroup">
    22     <primary sortas="e-/var/run/utmp">/var/run/utmp</primary>
    23   </indexterm>
    24 
    25   <indexterm zone="ch-chroot-pwdgroup">
    26     <primary sortas="e-/var/log/btmp">/var/log/btmp</primary>
    27   </indexterm>
    28 
    29   <indexterm zone="ch-chroot-pwdgroup">
    30     <primary sortas="e-/var/log/lastlog">/var/log/lastlog</primary>
    31   </indexterm>
    32 
    33   <indexterm zone="ch-chroot-pwdgroup">
    34     <primary sortas="e-/var/log/wtmp">/var/log/wtmp</primary>
    3519  </indexterm>
    3620
     
    4428<screen><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    4529<literal>root:x:&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
     30<literal>bin:x:&uid-bin;:&gid-bin;:/bin:/bin/false</literal>
     31<literal>daemon:x:&uid-daemon;:&gid-daemon;:/sbin:/bin/false</literal>
     32<literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>
     33<literal>nobody:x:&uid-nobody;:&gid-nogroup;:Unprivileged User:/dev/null:/bin/false</literal>
    4634EOF</userinput></screen>
    4735
     
    7361utmp:x:&gid-utmp;:
    7462usb:x:&gid-usb;:
    75 cdrom:x:&gid-cdrom;:</literal>
     63cdrom:x:&gid-cdrom;:
     64adm:x:&gid-adm;:
     65messagebus:x:&gid-messagebus;:
     66systemd-journal:x:&gid-systemd-journal;:
     67mail:x:&gid-mail;:
     68wheel:x:&gid-wheel;:
     69nogroup:x:&gid-nogroup;:</literal>
    7670EOF</userinput></screen>
    7771
     
    9993  for the duration of the next chapters.</para>
    10094
    101   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    102   href="../../boot/common/pwdgroup.xml"
    103   xpointer="xpointer(//*[@os='f'])"/>
    104 
    105 <screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp}
    106 chgrp -v utmp /var/run/utmp /var/log/lastlog
    107 chmod -v 664 /var/run/utmp /var/log/lastlog
    108 chmod -v 600 /var/log/btmp</userinput></screen>
    109 
    110   <para>The <filename>/var/run/utmp</filename> file records the users that
    111   are currently logged in. The <filename>/var/log/wtmp</filename> file records
    112   all logins and logouts. The <filename>/var/log/lastlog</filename> file
    113   records when each user last logged in. The <filename>/var/log/btmp</filename>
    114   file records the bad login attempts.</para>
    115 
    11695</sect1>
Note: See TracChangeset for help on using the changeset viewer.