Changeset 095286b


Ignore:
Timestamp:
11/02/2021 01:23:41 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
3328dfd
Parents:
747287d
Message:

Revert the change /bin/bash->/usr/bin/bash

We are not sure what the interaction with /etc/shells is...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter07/createfiles.xml

    r747287d r095286b  
    6262
    6363<screen revision="sysv"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    64 <literal>root:x:0:0:root:/root:/usr/bin/bash
     64<literal>root:x:0:0:root:/root:/bin/bash
    6565bin:x:1:1:bin:/dev/null:/usr/bin/false
    6666daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
     
    7171
    7272<screen revision="systemd"><userinput>cat &gt; /etc/passwd &lt;&lt; "EOF"
    73 <literal>root:x:0:0:root:/root:/usr/bin/bash
     73<literal>root:x:0:0:root:/root:/bin/bash
    7474bin:x:1:1:bin:/dev/null:/usr/bin/false
    7575daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false
     
    176176  chapter.</para>
    177177
    178 <screen><userinput>echo "tester:x:101:101::/home/tester:/usr/bin/bash" &gt;&gt; /etc/passwd
     178<screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" &gt;&gt; /etc/passwd
    179179echo "tester:x:101:" &gt;&gt; /etc/group
    180180install -o tester -d /home/tester</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.