2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Shadow Password Suite</title>
|
|
|
|
|
2001-08-07 14:43:37 +01:00
|
|
|
<para>Install the Shadow Password Suite by running the
|
|
|
|
following commands:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-24 21:45:42 +01:00
|
|
|
<para><screen><userinput>cp src/useradd.c src/useradd.c.backup &&</userinput>
|
|
|
|
<userinput>sed 's/\(.*\) (nflg || \(.*\))\(.*\)/\1\2\3/' \</userinput>
|
|
|
|
<userinput> src/useradd.c > tmp~ &&</userinput>
|
2001-08-29 14:19:58 +01:00
|
|
|
<userinput>mv tmp~ src/useradd.c &&</userinput>
|
2001-07-10 16:06:31 +01:00
|
|
|
<userinput>./configure --prefix=/usr &&</userinput>
|
|
|
|
<userinput>make &&</userinput>
|
|
|
|
<userinput>make install &&</userinput>
|
|
|
|
<userinput>cd etc &&</userinput>
|
2001-08-28 21:50:57 +01:00
|
|
|
<userinput>cp limits login.access /etc &&</userinput>
|
2001-09-02 20:24:11 +01:00
|
|
|
<userinput>sed 's%/var/spool/mail%/var/mail%' login.defs.linux > /etc/login.defs &&</userinput>
|
2001-08-25 21:32:18 +01:00
|
|
|
<userinput>cd /lib &&</userinput>
|
|
|
|
<userinput>mv libshadow.a /usr/lib &&</userinput>
|
|
|
|
<userinput>mv libshadow.la /usr/lib &&</userinput>
|
|
|
|
<userinput>ln -sf libshadow.so.0 libshadow.so &&</userinput>
|
|
|
|
<userinput>cd /usr/lib &&</userinput>
|
|
|
|
<userinput>ln -sf ../../lib/libshadow.so</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|