Changeset 026bb5d for BOOK/final-system/common/shadow.xml
- Timestamp:
- Dec 18, 2013, 1:04:00 AM (11 years ago)
- Children:
- f975b3a
- Parents:
- 1c9985f (diff), 8abef998 (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
-
BOOK/final-system/common/shadow.xml
r1c9985f r026bb5d 34 34 </note> 35 35 36 <para os="f1">Fix an issue with the Russian man pages:</para> 37 38 <screen os="f2"><userinput>sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in</userinput></screen> 39 40 <para os="b">Prepare Shadow for compilation:</para> 41 42 <screen os="c"><userinput>./configure --sysconfdir=/etc</userinput></screen> 43 44 <para os="d">The meaning of the configure options:</para> 45 46 <variablelist os="e"> 36 37 <para os="b">Disable the installation of the <command>groups</command> and 38 <command>nologin</command> programs and their man pages, as better versions 39 of these programs are provided by Coreutils and Util-linux:</para> 40 41 <screen os="c"><userinput>sed -i src/Makefile.in \ 42 -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' 43 find man -name Makefile.in -exec sed -i \ 44 -e 's/man1\/groups\.1 //' -e 's/man8\/nologin\.8 //' '{}' \;</userinput></screen> 45 46 <para os="d">Prepare Shadow for compilation:</para> 47 48 <screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen> 49 50 <para os="f">The meaning of the configure options:</para> 51 52 <variablelist os="g"> 47 53 <varlistentry> 48 54 <term><parameter>--sysconfdir=/etc</parameter></term> … … 51 57 <filename class="directory">/usr/etc</filename>.</para></listitem> 52 58 </varlistentry> 59 53 60 </variablelist> 54 61 55 <para os="f">Disable the installation of the <command>groups</command>56 program and its man pages, as Coreutils provides a better version:</para>57 58 <screen os="g"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile59 find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;60 find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;</userinput></screen>61 62 62 63 <para os="h">Compile the package:</para> … … 72 73 <para os="m" id="shadow-login_defs">Instead of using the default 73 74 <emphasis>crypt</emphasis> method, use the more secure 74 <emphasis> MD5</emphasis> method of password encryption, which also allows75 <emphasis>SHA512</emphasis> method of password encryption, which also allows 75 76 passwords longer than 8 characters. It is also necessary to change the 76 77 obsolete <filename class="directory">/var/spool/mail</filename> location … … 85 86 86 87 <screen os="s"><userinput>sed -i /etc/login.defs \ 87 -e 's@#\(ENCRYPT_METHOD \).*@\1 MD5@' \88 -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \ 88 89 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 89 90 … … 155 156 <seg>chage, chfn, chpasswd, chgpasswd, chsh, expiry, faillog, gpasswd, 156 157 groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv, 157 lastlog, login, logoutd, newgrp, newusers, nologin,passwd, pwck,158 lastlog, login, logoutd, newgrp, newusers, passwd, pwck, 158 159 pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod, 159 160 vigr (link to vipw), and vipw</seg> … … 380 381 </varlistentry> 381 382 382 <varlistentry id="nologin">383 <term><command>nologin</command></term>384 <listitem>385 <para>Displays a message that an account is not available. Designed386 to be used as the default shell for accounts that have been387 disabled</para>388 <indexterm zone="ch-system-shadow nologin">389 <primary sortas="b-nologin">nologin</primary>390 </indexterm>391 </listitem>392 </varlistentry>393 394 383 <varlistentry id="passwd"> 395 384 <term><command>passwd</command></term>
Note:
See TracChangeset
for help on using the changeset viewer.