| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 | <?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/Makefilesed -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 a library:</para><screen><userinput>mv /lib/libshadow.*a /usr/lib</userinput></screen><para>Create the following symlinks:</para><screen><userinput>rm /lib/libshadow.soln -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>
 |