~openstack-charmers-next/charms/xenial/swift-storage/trunk

« back to all changes in this revision

Viewing changes to charmhelpers/contrib/hardening/host/templates/tally2

  • Committer: Edward Hope-Morley
  • Date: 2016-03-24 11:11:58 UTC
  • Revision ID: edward.hope-morley@canonical.com-20160324111158-4whr78jd2v9yihw2
Add hardening support

Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: If0d1e10b58ed506e0aca659f30120b8d5c96c04f

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
###############################################################################
 
2
# WARNING: This configuration file is maintained by Juju. Local changes may
 
3
#          be overwritten.
 
4
###############################################################################
 
5
Name: tally2 lockout after failed attempts enforcement
 
6
Default: yes
 
7
Priority: 1024
 
8
Conflicts: cracklib
 
9
Auth-Type: Primary
 
10
Auth-Initial:
 
11
  required      pam_tally2.so deny={{ auth_retries }} onerr=fail unlock_time={{ auth_lockout_time }}
 
12
Account-Type: Primary
 
13
Account-Initial:
 
14
  required      pam_tally2.so