Changeset 3accd6a
- Timestamp:
- May 19, 2017, 5:44:37 PM (8 years ago)
- Branches:
- sysvinit
- Children:
- 17e5f26
- Parents:
- ca39770
- git-author:
- William Harrington <kb0iic@…> (05/19/17 17:39:11)
- git-committer:
- William Harrington <kb0iic@…> (05/19/17 17:44:37)
- Location:
- BOOK/final-system
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/shadow.xml
rca39770 r3accd6a 54 54 --sysconfdir=/etc</userinput></screen> 55 55 56 <para os="f">The meaning of the new configure option:</para>57 58 <variablelist os="g"> 56 <variablelist os="f"> 57 <title>The meaning of the new configure option:</title> 58 59 59 <varlistentry> 60 60 <term><parameter>--sysconfdir=/etc</parameter></term> … … 66 66 </variablelist> 67 67 68 <para os=" h">Compile the package:</para>69 70 <screen os=" i"><userinput>make</userinput></screen>71 72 <para os=" j">This package does not come with a test suite.</para>73 74 <para os=" k">Install the package:</para>75 76 <screen os=" l"><userinput>make install</userinput></screen>77 78 <para os=" m" id="shadow-login_defs">Instead of using the default68 <para os="g">Compile the package:</para> 69 70 <screen os="h"><userinput>make</userinput></screen> 71 72 <para os="i">This package does not come with a test suite.</para> 73 74 <para os="j">Install the package:</para> 75 76 <screen os="k"><userinput>make install</userinput></screen> 77 78 <para os="l" id="shadow-login_defs">Instead of using the default 79 79 <emphasis>DES</emphasis> method, use the more secure 80 80 <emphasis>SHA512</emphasis> method of password encryption, which also allows … … 86 86 configuration file:</para> 87 87 88 <indexterm os=" n" zone="shadow-login_defs">88 <indexterm os="m" zone="shadow-login_defs"> 89 89 <primary sortas="e-/etc/login.defs">/etc/login.defs</primary> 90 90 </indexterm> 91 91 92 <screen os=" s"><userinput>sed -i /etc/login.defs \92 <screen os="n"><userinput>sed -i /etc/login.defs \ 93 93 -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \ 94 94 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 95 95 96 <para os="t">Move a misplaced program to its proper location:</para> 97 98 <screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen> 96 <para os="o">Move a misplaced program to its proper location:</para> 97 98 <screen os="p"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen> 99 100 <para os="q">The <command>login</command> program will write to 101 <filename>/var/log/faillog</filename>, to record failed login attempts, and 102 <filename>/var/log/lastlog</filename>, to record the date and 103 time of the latest successful login for each user. These log files are not 104 created automatically if they do not already exist, so we will 105 create them now and give them appropriate ownership and permissions:</para> 106 107 <screen os="r"><userinput>touch /var/log/{fail,last}log 108 chgrp -v utmp /var/log/{fail,last}log 109 chmod -v 664 /var/log/{fail,last}log</userinput></screen> 99 110 100 111 </sect2> -
BOOK/final-system/multilib/shadow.xml
rca39770 r3accd6a 79 79 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 80 80 href="../common/shadow.xml" 81 xpointer="xpointer(//*[@os=' s'])"/>81 xpointer="xpointer(//*[@os='o'])"/> 82 82 83 83 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 84 84 href="../common/shadow.xml" 85 xpointer="xpointer(//*[@os=' t'])"/>85 xpointer="xpointer(//*[@os='p'])"/> 86 86 87 87 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 88 88 href="../common/shadow.xml" 89 xpointer="xpointer(//*[@os='u'])"/> 89 xpointer="xpointer(//*[@os='q'])"/> 90 91 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 92 href="../common/shadow.xml" 93 xpointer="xpointer(//*[@os='r'])"/> 90 94 91 95 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.