/puppet-pam_access

Manage access.conf entries with Augeas

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

pam_access

yamllint pdk-validate

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,
}