old-www/HOWTO/Shadow-Password-HOWTO.html

121 lines
5.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux Shadow Password HOWTO</TITLE>
<LINK HREF="Shadow-Password-HOWTO-1.html" REL=next>
</HEAD>
<BODY>
<A HREF="Shadow-Password-HOWTO-1.html">Next</A>
Previous
Contents
<HR>
<H1>Linux Shadow Password HOWTO</H1>
<H2>Michael H. Jackson, <CODE>mhjack@tscnet.com</CODE></H2>v1.3, 3 April 1996
<P><HR>
<EM>This document aims to describe how to obtain, install, and configure the Linux
password <EM>Shadow Suite</EM>. It also discusses obtaining, and re]installing other software and network daemons that require access to user
passwords. This other software is not actually part of the Shadow Suite, but
these programs will need to be recompiled to support the <EM>Shadow
Suite</EM>. This document also contains a programming example for adding
shadow support to a program. Answers to some of the more frequently asked
questions are included near the end of this document.</EM>
<HR>
<P>
<H2><A NAME="toc1">1.</A> <A HREF="Shadow-Password-HOWTO-1.html">Introduction.</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-1.html#ss1.1">1.1 Changes from the previous release.</A>
<LI><A HREF="Shadow-Password-HOWTO-1.html#ss1.2">1.2 New versions of this document.</A>
<LI><A HREF="Shadow-Password-HOWTO-1.html#ss1.3">1.3 Feedback.</A>
</UL>
<P>
<H2><A NAME="toc2">2.</A> <A HREF="Shadow-Password-HOWTO-2.html">Why shadow your passwd file?</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-2.html#ss2.1">2.1 Why you might NOT want to shadow your passwd file.</A>
<LI><A HREF="Shadow-Password-HOWTO-2.html#ss2.2">2.2 Format of the /etc/passwd file</A>
<LI><A HREF="Shadow-Password-HOWTO-2.html#ss2.3">2.3 Format of the shadow file</A>
<LI><A HREF="Shadow-Password-HOWTO-2.html#ss2.4">2.4 Review of crypt(3).</A>
</UL>
<P>
<H2><A NAME="toc3">3.</A> <A HREF="Shadow-Password-HOWTO-3.html">Getting the Shadow Suite.</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-3.html#ss3.1">3.1 History of the Shadow Suite for Linux</A>
<LI><A HREF="Shadow-Password-HOWTO-3.html#ss3.2">3.2 Where to get the Shadow Suite.</A>
<LI><A HREF="Shadow-Password-HOWTO-3.html#ss3.3">3.3 What is included with the Shadow Suite.</A>
</UL>
<P>
<H2><A NAME="toc4">4.</A> <A HREF="Shadow-Password-HOWTO-4.html">Compiling the programs.</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-4.html#ss4.1">4.1 Unpacking the archive.</A>
<LI><A HREF="Shadow-Password-HOWTO-4.html#ss4.2">4.2 Configuring with the config.h file</A>
<LI><A HREF="Shadow-Password-HOWTO-4.html#ss4.3">4.3 Making backup copies of your original programs.</A>
<LI><A HREF="Shadow-Password-HOWTO-4.html#ss4.4">4.4 Running make</A>
</UL>
<P>
<H2><A NAME="toc5">5.</A> <A HREF="Shadow-Password-HOWTO-5.html">Installing</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-5.html#ss5.1">5.1 Have a boot disk handy in case you break anything.</A>
<LI><A HREF="Shadow-Password-HOWTO-5.html#ss5.2">5.2 Removing duplicate man pages</A>
<LI><A HREF="Shadow-Password-HOWTO-5.html#ss5.3">5.3 Running make install</A>
<LI><A HREF="Shadow-Password-HOWTO-5.html#ss5.4">5.4 Running pwconv</A>
<LI><A HREF="Shadow-Password-HOWTO-5.html#ss5.5">5.5 Renaming npasswd and nshadow</A>
</UL>
<P>
<H2><A NAME="toc6">6.</A> <A HREF="Shadow-Password-HOWTO-6.html">Other programs you may need to upgrade or patch</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.1">6.1 Slackware adduser program</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.2">6.2 The wu_ftpd Server</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.3">6.3 Standard ftpd</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.4">6.4 pop3d (Post Office Protocol 3)</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.5">6.5 xlock</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.6">6.6 xdm</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.7">6.7 sudo</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.8">6.8 imapd (E-Mail pine package])</A>
<LI><A HREF="Shadow-Password-HOWTO-6.html#ss6.9">6.9 pppd (Point-to-Point Protocol Server)</A>
<P>
<H2><A NAME="toc7">7.</A> <A HREF="Shadow-Password-HOWTO-7.html">Putting the Shadow Suite to use.</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.1">7.1 Adding, Modifying, and deleting users</A>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.2">7.2 The passwd command and passwd aging.</A>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.3">7.3 The login.defs file.</A>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.4">7.4 Group passwords.</A>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.5">7.5 Consistency checking programs</A>
<LI><A HREF="Shadow-Password-HOWTO-7.html#ss7.6">7.6 Dial-up passwords.</A>
<P>
<H2><A NAME="toc8">8.</A> <A HREF="Shadow-Password-HOWTO-8.html">Adding shadow support to a C program</A></H2>
<UL>
<LI><A HREF="Shadow-Password-HOWTO-8.html#ss8.1">8.1 Header files</A>
<LI><A HREF="Shadow-Password-HOWTO-8.html#ss8.2">8.2 libshadow.a library</A>
<LI><A HREF="Shadow-Password-HOWTO-8.html#ss8.3">8.3 Shadow Structure</A>
<LI><A HREF="Shadow-Password-HOWTO-8.html#ss8.4">8.4 Shadow Functions</A>
<LI><A HREF="Shadow-Password-HOWTO-8.html#ss8.5">8.5 Example</A>
<P>
<H2><A NAME="toc9">9.</A> <A HREF="Shadow-Password-HOWTO-9.html">Frequently Asked Questions.</A></H2>
<P>
<H2><A NAME="toc10">10.</A> <A HREF="Shadow-Password-HOWTO-10.html">Copyright Message.</A></H2>
<P>
<H2><A NAME="toc11">11.</A> <A HREF="Shadow-Password-HOWTO-11.html">Miscellaneous and Acknowledgments.</A></H2>
</PHR>
<H3></H3>
<HR>
<A HREF="Shadow-Password-HOWTO-1.html">Next</A>
Previous
Contents
</BODY>
</HTML>