pam_access

Manage access.conf entries
Harvard University Information Technology

Harvard University Information Technology

huit

11,459 downloads

10,520 latest version

3.4 quality score

Version information

  • 0.1.0 (latest)
  • 0.0.2
  • 0.0.1
released Jul 3rd 2019

Start using this module

Documentation

huit/pam_access — version 0.1.0 Jul 3rd 2019

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.