Forge Home

pam_access

Manage access.conf entries

12,442 downloads

11,442 latest version

3.4 quality score

Version information

  • 0.1.0 (latest)
  • 0.0.2
  • 0.0.1
released Oct 17th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'huit-pam_access', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add huit-pam_access
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install huit-pam_access --version 0.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

huit/pam_access — version 0.1.0 Oct 17th 2014

Build Status

pam_access

This module manages pam_access entries stored in /etc/security/access.conf. It requires Augeas >= 0.8.0.

Sample usage:

class { 'pam_access':
  exec => true,
}

pam_access::entry { 'mailman-cron':
  user   => 'mailman',
  origin => 'cron',
}

pam_access::entry { 'root-localonly':
  permission => '-',
  user       => 'root',
  origin     => 'ALL EXCEPT LOCAL',
}

pam_access::entry { 'lusers-revoke-access':
  create => false,
  user   => 'lusers',
  group  => true,
}

Changes:

0.1.0: Implemented a fix for dependency cycle and more efficient insertion of access.conf elements (thanks @FutureSharks!)

0.0.2: Specify incl and lens parameters to augeas resources for performance improvement.

0.0.1: Initial release.