Changeset 4a74a6f for chapter07/createfiles.xml
- Timestamp:
- 11/03/2021 04:45:09 AM (2 years ago)
- Branches:
- multilib
- Children:
- f08c6def
- Parents:
- 00696e1d (diff), 3328dfd (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/createfiles.xml
r00696e1d r4a74a6f 62 62 63 63 <screen revision="sysv"><userinput>cat > /etc/passwd << "EOF" 64 <literal>root:x:0:0:root:/root:/ usr/bin/bash64 <literal>root:x:0:0:root:/root:/bin/bash 65 65 bin:x:1:1:bin:/dev/null:/usr/bin/false 66 66 daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false … … 71 71 72 72 <screen revision="systemd"><userinput>cat > /etc/passwd << "EOF" 73 <literal>root:x:0:0:root:/root:/ usr/bin/bash73 <literal>root:x:0:0:root:/root:/bin/bash 74 74 bin:x:1:1:bin:/dev/null:/usr/bin/false 75 75 daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false … … 176 176 chapter.</para> 177 177 178 <screen><userinput>echo "tester:x:101:101::/home/tester:/ usr/bin/bash" >> /etc/passwd178 <screen><userinput>echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd 179 179 echo "tester:x:101:" >> /etc/group 180 180 install -o tester -d /home/tester</userinput></screen>
Note:
See TracChangeset
for help on using the changeset viewer.