summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-extended/pam/libpam_%.bbappend
blob: 9dcc98dc43e17d71d90c2f7dda6fe1ba6513408c (plain)
1
2
3
4
5
6
7
RDEPENDS_${PN}-runtime += "${MLPREFIX}pam-plugin-localuser-${libpam_suffix}"

# Default settings: lockout duration to 300 seconds and threshold value to 10.
do_install_append() {
 sed -i 's/deny=0/deny=10/' ${D}${sysconfdir}/pam.d/common-auth
 sed -i 's/unlock_time=0/unlock_time=300/' ${D}${sysconfdir}/pam.d/common-auth
}