![Novell LINUX ENTERPRISE DESKTOP 11 Manual Download Page 36](http://html1.mh-extra.com/html/novell/linux-enterprise-desktop-11/linux-enterprise-desktop-11_manual_1711827036.webp)
Again, the PAM configuration of sshd involves just an include statement referring to
the default configuration for
password
modules located in
common-password
.
These modules must successfully be completed (control flags
requisite
and
required
) whenever the application requests the change of an authentication token.
Changing a password or another authentication token requires a security check. This
is achieved with the
pam_pwcheck
module. The
pam_unix2
module used afterwards
carries over any old and new passwords from
pam_pwcheck
, so the user does not
need to authenticate again after changing the password. This procedure makes it impos-
sible to circumvent the checks carried out by
pam_pwcheck
. Whenever the
account
or the
auth
type are configured to complain about expired passwords, the
password
modules should also be used.
Example 2.5
Default Configuration for the session Section
session required
pam_limits.so
session required
pam_unix2.so
session optional
pam_umask.so
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.
The
pam_limits
module loads the file
/etc/security/limits.conf
, which
may define limits on the use of certain system resources. The
pam_unix2
module is
processed again. The
pam_umask
module can be used to set the file mode creation
mask. Since this module carries the
optional
flag, a failure of this module would
not affect the successful completion of the entire session module stack. The
session
modules are called a second time when the user logs out.
2.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_env.conf
, and
limits.conf
.
22
Security Guide
Summary of Contents for LINUX ENTERPRISE DESKTOP 11
Page 1: ...SUSE Linux Enterprise Server www novell com 11 March 17 2009 Security Guide...
Page 9: ...32 7 Managing Audit Event Records Using Keys 433 33 Useful Resources 435...
Page 10: ......
Page 29: ...Part I Authentication...
Page 30: ......
Page 55: ...Figure 4 2 YaST LDAP Server Configuration LDAP A Directory Service 41...
Page 126: ......
Page 127: ...Part II Local Security...
Page 128: ......
Page 158: ......
Page 173: ...Part III Network Security...
Page 174: ......
Page 194: ......
Page 197: ...Figure 16 2 Scenario 2 Figure 16 3 Scenario 3 Configuring VPN Server 183...
Page 210: ......
Page 228: ......
Page 229: ...Part IV Confining Privileges with Novell AppArmor...
Page 230: ......
Page 274: ......
Page 300: ......
Page 328: ......
Page 340: ......
Page 342: ......
Page 386: ......
Page 387: ...Part V The Linux Audit Framework...
Page 388: ......