10.0
10.1
11.0
11.1
11.2
11.3
6.0
6.1
6.2
6.2.0
6.2.0-rc1
6.2.0-rc2
6.3
6.3-rc1
6.3-rc2
6.3-rc3
7.10
7.4
7.5
7.6
7.6-blfs
7.6-systemd
7.7
7.8
7.9
8.0
8.1
8.2
8.3
8.4
9.0
9.1
basic
bdubbs/svn
elogind
gnome
kde5-13430
kde5-14269
kde5-14686
ken/inkscape-core-mods
krejzi/svn
lazarus
nosym
perl-modules
plabs/python-mods
qt5new
systemd-11177
systemd-13485
trunk
upgradedb
v1_0
v5_0
v5_0-pre1
v5_1
v5_1-pre1
xry111/intltool
xry111/soup3
xry111/test-20220226
Last change
on this file since f22f96e9 was f22f96e9, checked in by Larry Lawrence <larry@…>, 20 years ago |
edited general libs
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@827 af4574ff-66df-0310-9fd7-8a98e5e911e0
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | <sect2>
|
---|
2 | <title>Configuring Linux_PAM</title>
|
---|
3 |
|
---|
4 | <sect3><title>Config files</title>
|
---|
5 | <para><userinput>/etc/pam.d</userinput> or <userinput>/etc/pam.conf</userinput></para>
|
---|
6 | </sect3>
|
---|
7 |
|
---|
8 | <sect3><title>Configuration Information</title>
|
---|
9 |
|
---|
10 | <para>Configuration information is placed in
|
---|
11 | <filename>/etc/pam.d</filename> or <filename>/etc/pam.conf</filename>
|
---|
12 | depending on the application that is using PAM. Below are example files of
|
---|
13 | each type:
|
---|
14 | </para>
|
---|
15 |
|
---|
16 | <screen># Begin /etc/pam.d/other
|
---|
17 |
|
---|
18 | auth required pam_unix.so nullok
|
---|
19 | account required pam_unix.so
|
---|
20 | session required pam_unix.so
|
---|
21 | password required pam_unix.so nullok
|
---|
22 |
|
---|
23 | # End /etc/pam.d/other
|
---|
24 |
|
---|
25 | # Begin /etc/pam.conf
|
---|
26 |
|
---|
27 | other auth required pam_unix.so nullok
|
---|
28 | other account required pam_unix.so
|
---|
29 | other session required pam_unix.so
|
---|
30 | other password required pam_unix.so nullok
|
---|
31 |
|
---|
32 | # End /etc/pam.conf</screen>
|
---|
33 |
|
---|
34 | <para>The pam manpage provides a good starting point for descriptions of
|
---|
35 | fields and allowable entries. The <ulink
|
---|
36 | url="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/pam.html">Linux-PAM
|
---|
37 | guide for system administrators</ulink> and two PAM hints located at <ulink url="http://hints.linuxfromscratch.org"/> are also available for further reading.</para>
|
---|
38 |
|
---|
39 | </sect3>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.