
As the final step, the modules of the
session
type, bundled in the
common-session
file are called to configure the session according to the settings for the user in question.
Although
pam_unix2
is processed again, it has no practical consequences due to its
none
option specified in the respective configuration file of this module,
pam_unix2
.conf
. The
pam_limits
module loads the file
/etc/security/limits.conf
,
which may define limits on the use of certain system resources. The
session
modules
are called a second time when user logs out.
27.3 Configuration of PAM Modules
Some of the PAM modules are configurable. The corresponding configuration files are
located in
/etc/security
. This section briefly describes the configuration files
relevant to the sshd example—
pam_unix2.conf
,
pam_env.conf
,
pam_pwcheck
.conf
, and
limits.conf
.
27.3.1 pam_unix2.conf
The traditional password-based authentication method is controlled by the PAM module
pam_unix2
. It can read the necessary data from
/etc/passwd
,
/etc/shadow
,
NIS maps, NIS+ tables, or an LDAP database. The behavior of this module can be in-
fluenced by configuring the PAM options of the individual application itself or globally
by editing
/etc/security/pam_unix2.conf
. A very basic configuration file
for the module is shown in
Example 27.6, “pam_unix2.conf”
(page 500).
Example 27.6
pam_unix2.conf
auth: nullok
account:
password: nullok
session: none
The
nullok
option for module types
auth
and
password
specifies that empty
passwords are permitted for the corresponding type of account. Users are also allowed
to change passwords for their accounts. The
none
option for the module type
session
specifies that no messages are logged on its behalf (this is the default). Learn about
additional configuration options from the comments in the file itself and from the
manual page pam_unix2(8).
500
Installation and Administration
Содержание LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007
Страница 1: ...SUSE Linux Enterprise Server www novell com 10 May 11 2007 Installation and Administration...
Страница 14: ......
Страница 19: ...Part I Deployment...
Страница 20: ......
Страница 60: ......
Страница 128: ......
Страница 243: ...Part II Administration...
Страница 244: ......
Страница 274: ......
Страница 312: ......
Страница 348: ......
Страница 380: ......
Страница 381: ...Part III System...
Страница 382: ......
Страница 438: ......
Страница 452: ......
Страница 478: ......
Страница 486: ......
Страница 498: ......
Страница 512: ......
Страница 558: ......
Страница 559: ...Part IV Services...
Страница 560: ......
Страница 652: ......
Страница 670: ......
Страница 742: ......
Страница 754: ......
Страница 796: ......
Страница 817: ...Part V Security...
Страница 818: ......
Страница 858: ......
Страница 886: ......
Страница 910: ......
Страница 911: ...Part VI Troubleshooting...
Страница 912: ......
Страница 924: ......