Changeset d352b98 for chapter07


Ignore:
Timestamp:
11/01/2021 04:45:09 AM (2 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
00696e1d
Parents:
114393c (diff), 1f201845 (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:

Automatic merge of trunk into multilib

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/createfiles.xml

    r114393c rd352b98  
    6262
    6363<screen revision="sysv"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    64 <literal>root:x:0:0:root:/root:/bin/bash
    65 bin:x:1:1:bin:/dev/null:/bin/false
    66 daemon:x:6:6:Daemon User:/dev/null:/bin/false
    67 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false
    68 uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false
    69 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
     64<literal>root:x:0:0:root:/root:/usr/bin/bash
     65bin:x:1:1:bin:/dev/null:/usr/bin/false
     66daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
     67messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
     68uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false
     69nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false</literal>
    7070EOF</userinput></screen>
    7171
    7272<screen revision="systemd"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    73 <literal>root:x:0:0:root:/root:/bin/bash
    74 bin:x:1:1:bin:/dev/null:/bin/false
    75 daemon:x:6:6:Daemon User:/dev/null:/bin/false
    76 messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false
    77 systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false
    78 systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false
    79 systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false
    80 systemd-journal-upload:x:75:75:systemd Journal Upload:/:/bin/false
    81 systemd-network:x:76:76:systemd Network Management:/:/bin/false
    82 systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
    83 systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
    84 systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false
    85 uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false
    86 systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/bin/false
    87 nobody:x:99:99:Unprivileged User:/dev/null:/bin/false</literal>
     73<literal>root:x:0:0:root:/root:/usr/bin/bash
     74bin:x:1:1:bin:/dev/null:/usr/bin/false
     75daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
     76messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false
     77systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/usr/bin/false
     78systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/usr/bin/false
     79systemd-journal-remote:x:74:74:systemd Journal Remote:/:/usr/bin/false
     80systemd-journal-upload:x:75:75:systemd Journal Upload:/:/usr/bin/false
     81systemd-network:x:76:76:systemd Network Management:/:/usr/bin/false
     82systemd-resolve:x:77:77:systemd Resolver:/:/usr/bin/false
     83systemd-timesync:x:78:78:systemd Time Synchronization:/:/usr/bin/false
     84systemd-coredump:x:79:79:systemd Core Dumper:/:/usr/bin/false
     85uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false
     86systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/usr/bin/false
     87nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false</literal>
    8888EOF</userinput></screen>
    8989
     
    176176  chapter.</para>
    177177
    178 <screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
     178<screen><userinput>echo "tester:x:101:101::/home/tester:/usr/bin/bash" &gt;&gt; /etc/passwd
    179179echo "tester:x:101:" &gt;&gt; /etc/group
    180180install -o tester -d /home/tester</userinput></screen>
     
    186186  work:</para>
    187187
    188 <screen role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
     188<screen role="nodump"><userinput>exec /usr/bin/bash --login +h</userinput></screen>
    189189
    190190  <para>Note the use of the <parameter>+h</parameter> directive. This tells
Note: See TracChangeset for help on using the changeset viewer.