cloudfoundry / bosh-linux-stemcell-builder

BOSH Ubuntu Linux stemcells
Apache License 2.0
42 stars 103 forks source link

Revert "change pam_lastlog for pam_faillock + remove adiscon rsyslog ppa" #393

Open ramonskie opened 4 days ago

ramonskie commented 4 days ago

Reverts cloudfoundry/bosh-linux-stemcell-builder#387

this breaks now as a user is not able to login in anymore

ramonskie commented 4 days ago

we can implement something like this

session required pam_faillock.so preauth audit silent deny=3 unlock_time=600
session required pam_faillock.so authfail audit deny=3 unlock_time=600

this will and log and lockout the account. the logs are a bit different though.