summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-05-27 21:10:18 +0200
committerTimo Weingärtner <timo@tiwe.de>2013-05-27 21:10:45 +0200
commit201e799f7a2fcba3af2c9214f25545460ef9b08a (patch)
treec5e3975d7add11c0295238d584aa51e34a4e7ce0 /INSTALL
parentda52bf9630a077d90e1338d818a3e179367058c4 (diff)
downloadlibpam-pwdfile-201e799f7a2fcba3af2c9214f25545460ef9b08a.tar.gz
rework documentationv0.100
remove stuff in contrib, it is outdated or explained in the service's documentation
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL45
1 files changed, 7 insertions, 38 deletions
diff --git a/INSTALL b/INSTALL
index 5fe4680..80846dd 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,38 +1,7 @@
-INSTALL for pam_pwdfile PAM module - Charl P. Botha <cpbotha@ieee.org>
----------------------------------------------------------------------------
-
-This file is the quick and dirty on how to get pam_pwdfile compiled on your
-system. As per usual, I can not be held responsible for the results of the
-application of this information.
-
-1. Get the Linux PAM source code tarball. Currently, this is at:
-http://www.us.kernel.org/pub/linux/libs/pam/pre/library/Linux-PAM-0.75.tar.bz2
-
-2. Extract the tarball somewhere convenient:
-bunzip2 -c Linux-PAM-0.75.tar.bz2 | tar -xvf -
-
-3. Prepare pam_pwdfile
-cd Linux-PAM-0.75/modules
-tar -xzvf /where/you/put/it/pam_pwdfile-x.y.tar.gz
-cd ..
-(x.y represents the pam_pwdfile version, e.g. 0.7)
-
-4. Prepare Linux-PAM
-rm default.defs
-ln -s defs/whatever.defs default.defs (on my system whatever == debian)
-
-5. in Linux-PAM-0.75/ do:
- make all
- NOTE: if you only need pam_pwdfile and some of the other modules are
- causing you problems during compilation, go and delete them (i.e.
- delete the whole module dir, e.g. rm -rf modules/pam_pwdb) and then
- restart make all in the top level directory.
-
-6. When you're done, there should be a pam_pwdfile.so in modules/pam_pwdfile;
- copy this into your pam modules directory. (this is /lib/security/ on my
- debian 2.2. system)
-
-7. You should now be operational. See the README for more info.
-
-Remember that pam_pwdfile is packaged as a .deb and is part of the official
-Debian distribution.
+* install needed packages (if not installed already):
+ * make
+ * C compiler (e.g. gcc or clang)
+ * libc development headers (package libc6-dev on Debian, glibc-headers on Hat)
+ * PAM development headers (package libpam-dev on Debian, pam-devel on Hat)
+* make
+* make install