1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?xml version="1.0" encoding="ISO-8859-1"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-system-shadow" xreflabel="Shadow" role="wrap">
- <title>Shadow-&shadow-version;</title>
- <?dbhtml filename="shadow.html"?>
- <indexterm zone="ch-system-shadow"><primary sortas="a-Shadow">Shadow</primary></indexterm>
- <sect2 role="package"><title/>
- <segmentedlist>
- <segtitle>&buildtime;</segtitle>
- <segtitle>&diskspace;</segtitle>
- <seglistitem><seg>0.4 SBU</seg><seg>11 MB</seg></seglistitem>
- </segmentedlist>
- </sect2>
- <sect2 role="installation">
- <title>Installation of Shadow</title>
- <para>Prepare Shadow for compilation:</para>
- <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
- <para>Remove the installation of the groups program, and it's man page:</para>
- <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
- sed -i '/groups/d' man/Makefile</userinput></screen>
- <para>Compile the package:</para>
- <screen><userinput>make</userinput></screen>
- <para>Then install it:</para>
- <screen><userinput>make install</userinput></screen>
- <para>Install two config files:</para>
- <screen><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
- <para>Change a configuration file while copying it:</para>
- <screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
- -e 's@/var/spool/mail@/var/mail@' \
- etc/login.defs.linux > /etc/login.defs</userinput></screen>
- <para>Move a program:</para>
- <screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
- <para>Move the library:</para>
- <screen><userinput>mv /lib/libshadow.*a /usr/lib
- rm /lib/libshadow.so
- ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
- <para>Create a dir:</para>
- <screen><userinput>mkdir /etc/default</userinput></screen>
- </sect2>
- <sect2 id="conf-shadow" role="configuration"><title>Configuring Shadow</title>
- <para>To enable shadowed passwords:</para>
- <screen><userinput>pwconv</userinput></screen>
- <para>To enable shadowed group passwords, run:</para>
- <screen><userinput>grpconv</userinput></screen>
- </sect2>
- <sect2 role="configuration">
- <title>Setting the root password</title>
- <para>Choose a password for user root and set it via:</para>
- <screen><userinput>passwd root</userinput></screen>
- </sect2>
- <sect2 id="contents-shadow" role="content"><title>Contents of Shadow</title>
- <para>See testing</para>
- </sect2>
- </sect1>
|