xref: /freebsd/contrib/openpam/INSTALL (revision 45538173c120eadca115fd7e56c657905bf73771)
1
2			  Installing OpenPAM
3			  ==================
4
51. REQUIREMENTS
6
7  See the release notes for a list of platforms OpenPAM has been
8  tested on.
9
10  You will need the GNU autotools, GNU make and the GNU compiler suite
11  to build OpenPAM.  On some platforms, you may have to install these
12  separately.
13
142. CONFIGURATION
15
16  Use the "configure" shell script to configure OpenPAM for your
17  system.  Options include:
18
19    --enable-debug
20	Turn debugging on by default.
21
22    --with-modules-dir=DIR
23	Indicates the directory where PAM modules will be installed.
24	This option should not be used if you intend to install PAM
25	modules in the system library directory.
26
27    --with-localbase=DIR
28        Search for additional policies and modules in DIR/etc and
29        DIR/lib respectively.  Defaults to the installation prefix if
30        one was set, otherwise to the default installation prefix
31        (usually /usr/local).
32
33    --without-localbase
34        Do not search for policies and modules anywhere else than /etc
35        and /usr/lib.
36
37    --without-doc
38	Skips the documentation.
39
40    --with-pam-unix
41	Builds the sample PAM module.
42
43    --with-su
44	Builds the sample su(1) implementation.
45
46  For more information about configuration options, use the --help
47  option.
48
49  A typical invocation might look like this:
50
51  # ./configure --with-pam-unix --with-su
52
533. COMPILATION
54
55  To compile OpenPAM, simply run "make" (or "gmake" on platforms where
56  "make" is not GNU make) in the top-level OpenPAM directory:
57
58  # make
59
604. INSTALLATION
61
62  To install OpenPAM, simply run "make install" (or "gmake install" on
63  platforms where "make" is not GNU make) in the top-level OpenPAM
64  directory:
65
66  # make install
67