Changeset ff96923 for chapter08/shadow.xml
- Timestamp:
- 07/26/2021 01:10:18 AM (3 years ago)
- Branches:
- 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 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, ml-11.0, 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:
- 3388c22, de28837
- Parents:
- ff5c009
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/shadow.xml
rff5c009 rff96923 90 90 <screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen> 91 91 </note> 92 92 <!-- 93 93 <para>Make a minor change to make the first group number generated 94 94 by useradd 1000:</para> 95 95 96 96 <screen><userinput remap="pre">sed -i 's/1000/999/' etc/useradd</userinput></screen> 97 97 --> 98 98 <para>Prepare Shadow for compilation:</para> 99 99 … … 125 125 <para>Compile the package:</para> 126 126 127 <screen><userinput remap="make">make</userinput></screen>127 <screen><userinput remap="make">make</userinput></screen> 128 128 129 129 <para>This package does not come with a test suite.</para> … … 131 131 <para>Install the package:</para> 132 132 133 <screen><userinput remap="install">make exec_prefix=/usr install</userinput></screen> 133 <screen><userinput remap="install">make exec_prefix=/usr install 134 make -C man install-man 135 mkdir -p /etc/default 136 useradd -D --gid 999</userinput></screen> 134 137 135 138 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.