Changeset 6a156bab for chapter08/shadow.xml
- Timestamp:
- 06/12/2020 04:40:07 AM (4 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 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:
- 26fec27
- Parents:
- ea7ec72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/shadow.xml
rea7ec72 r6a156bab 68 68 class="directory">/var/mail</filename> location used currently:</para> 69 69 70 <screen><userinput remap="pre">sed -i -e 's@#ENCRYPT_METHOD DES@ENCRYPT_METHOD SHA512@' \ 71 -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen> 70 <screen><userinput remap="pre"> 71 sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD SHA512:' \ 72 -e 's:/var/spool/mail:/var/mail:' \ 73 -i etc/login.defs</userinput></screen> 72 74 73 75 <note> 74 76 <para>If you chose to build Shadow with Cracklib support, run the following:</para> 75 77 76 <screen role="nodump"><userinput>sed -i 's @DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>78 <screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen> 77 79 </note> 78 80 … … 85 87 86 88 <screen><userinput remap="configure">touch /usr/bin/passwd 87 ./configure --sysconfdir=/etc 89 ./configure --sysconfdir=/etc \ 88 90 --with-group-name-max-length=32</userinput></screen> 89 91
Note:
See TracChangeset
for help on using the changeset viewer.