Skip to content

jd-daniels/puppet-module-pam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PAM module for Puppet

Description

Puppet module for managing /etc/security/access.conf and /etc/security/limits.conf

Example usage for managing access.conf

pam::access {
  "root":
    permission  => "+",
    entity      => "root",
    origin      => "ALL",
    priority    => "10";
  "ALL":
    permission  => "-",
    entity      => "ALL",
    origin      => "ALL",
    priority    => "20";
}

Example usage for managing limits.conf

pam::limits {
  "nofile_hard":
     ensure   => present,
     domain   => "*",
     type     => "hard",
     item     => "nofile",
     value    => "8192",
     priority => 10;
  "nofile_soft":
     ensure   => present,
     domain   => "*",
     type     => "soft",
     item     => "nofile",
     value    => "1024",
     priority => 20;
}

About

Puppet module to manage some aspects of PAM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 100.0%