Pluggable Authentication Modules: The Definitive Guide to PAM for Linux SysAdmins and C Developers

A comprehensive and practical guide to PAM for Linux: how modules work and how to implement them
Preview in Mapt
Code Files

Pluggable Authentication Modules: The Definitive Guide to PAM for Linux SysAdmins and C Developers

Kenneth Geisshirt

1 customer reviews
A comprehensive and practical guide to PAM for Linux: how modules work and how to implement them

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$8.40
RRP $11.99
Save 29%
Print + eBook
$19.99
RRP $19.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$8.40
$19.99
$29.99 p/m after trial
RRP $11.99
RRP $19.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Pluggable Authentication Modules: The Definitive Guide to PAM for Linux SysAdmins and C Developers Book Cover
Pluggable Authentication Modules: The Definitive Guide to PAM for Linux SysAdmins and C Developers
$ 11.99
$ 8.40
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter Book Cover
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter
$ 23.99
$ 16.80
Buy 2 for $25.20
Save $10.78
Add to Cart

Book Details

ISBN 139781904811329
Paperback124 pages

Book Description

PAM-aware applications reduce the complexity of authentication. With PAM you can use the same user database for every login process. PAM also supports different authentication processes as required. Moreover, PAM is a well-defined API, and PAM-aware applications will not break if you change the underlying authentication configuration.

The PAM framework is widely used by most Linux distributions for authentication purposes. Originating from Solaris 2.6 ten years ago, PAM is used today by most proprietary and free UNIX operating systems including GNU/Linux, FreeBSD, and Solaris, following both the design concept and the practical details. PAM is thus a unifying technology for authentication mechanisms in UNIX.

PAM is a modular and flexible authentication management layer that sits between Linux applications and the native underlying authentication system. PAM can be implemented with various applications without having to recompile the applications to specifically support PAM.

Table of Contents

Chapter 1: Introduction to PAM
History of PAM
PAM Solves the Authentication Problem
Need for PAM
Installing Linux-PAM
PAM Implementations
Summary
Chapter 2: Theory of Operation
PAM File System Layout
The PAM Framework
Online Documentation
Services
Management Groups
Stacking
Control Flags
Consolidating Your PAM Configuration
Securing Your Environment
Summary
Chapter 3: Testing and Debugging
Where to Test?
Leaving a Back Door Open
Test Cases
Getting Backstage
The pamtester Utility
Automating PAM Tests
Bad Example
Summary
Chapter 4: Common Modules
Parameters
Modules Related to User Environments
Modules Used to Restrict Access
Modules Related to Back-End Storage
Summary
Chapter 5: Recipes
Encrypted Home Directories
Working with Secure Shell
Apache htaccess Made Smart
Directory Services
Limiting r-Services
Limiting Resources
Summary
Chapter 6: Developing with PAM
PAM-aware Applications
Developing your Own PAM Modules
Summary

What You Will Learn

  • Using PAM services for authentication in applications
  • Using PAM modules common to various operating systems (pam_mkhomedir, pam_mount, pam_succeed_if, pam_nologin, pam_wheel, pam_access, pam_deny, pam_unix, pam_winbind, pam_ldap, pam_mysql)
  • Testing and debugging your PAM configuration
  • Using PAM and Winbind for integrating any Linux/UNIX computer with Microsoft Active Directory
  • Developing your own PAM module in C

Authors

Table of Contents

Chapter 1: Introduction to PAM
History of PAM
PAM Solves the Authentication Problem
Need for PAM
Installing Linux-PAM
PAM Implementations
Summary
Chapter 2: Theory of Operation
PAM File System Layout
The PAM Framework
Online Documentation
Services
Management Groups
Stacking
Control Flags
Consolidating Your PAM Configuration
Securing Your Environment
Summary
Chapter 3: Testing and Debugging
Where to Test?
Leaving a Back Door Open
Test Cases
Getting Backstage
The pamtester Utility
Automating PAM Tests
Bad Example
Summary
Chapter 4: Common Modules
Parameters
Modules Related to User Environments
Modules Used to Restrict Access
Modules Related to Back-End Storage
Summary
Chapter 5: Recipes
Encrypted Home Directories
Working with Secure Shell
Apache htaccess Made Smart
Directory Services
Limiting r-Services
Limiting Resources
Summary
Chapter 6: Developing with PAM
PAM-aware Applications
Developing your Own PAM Modules
Summary

Book Details

ISBN 139781904811329
Paperback124 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter Book Cover
Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7-filter
$ 23.99
$ 16.80
Understanding TCP/IP Book Cover
Understanding TCP/IP
$ 22.99
$ 16.10
OpenVPN:  Building and Integrating Virtual Private Networks  Book Cover
OpenVPN: Building and Integrating Virtual Private Networks
$ 35.99
$ 25.20
Drupal: Creating Blogs, Forums, Portals, and Community Websites Book Cover
Drupal: Creating Blogs, Forums, Portals, and Community Websites
$ 23.99
$ 16.80
DNS in Action Book Cover
DNS in Action
$ 17.99
$ 12.60
GDI+ Application Custom Controls with Visual C# 2005 Book Cover
GDI+ Application Custom Controls with Visual C# 2005
$ 20.99
$ 14.70