From 1d1246813421cea7172c1fa43a926961258034e7 Mon Sep 17 00:00:00 2001 From: zhipengl Date: Tue, 16 Jul 2019 23:12:42 +0800 Subject: [PATCH] Fix System account doesn't block after invalid login attempts Need install openssh before install pam-config package as pam-config package will change ssh related pam config file. Verified below issue! When trying to login invalid password attempt 5 times using ssh, the user account is not locked out. Closes-Bug: #1814345 Change-Id: I4d973dac88dba3133cfcc92a96fba7918d674e79 Signed-off-by: zhipengl --- openssh-config/centos/openssh-config.spec | 1 - pam-config/centos/pam-config.spec | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/openssh-config/centos/openssh-config.spec b/openssh-config/centos/openssh-config.spec index 4c11798..2a92c2b 100644 --- a/openssh-config/centos/openssh-config.spec +++ b/openssh-config/centos/openssh-config.spec @@ -15,7 +15,6 @@ BuildArch: noarch Source: %name-%version.tar.gz Requires: %{_bindir}/systemctl -Requires: pam-config Requires: openssh Summary: package StarlingX configuration files of openssh to system folder. diff --git a/pam-config/centos/pam-config.spec b/pam-config/centos/pam-config.spec index 1580bbc..908395d 100644 --- a/pam-config/centos/pam-config.spec +++ b/pam-config/centos/pam-config.spec @@ -15,6 +15,7 @@ BuildArch: noarch Source: %name-%version.tar.gz Requires: pam +Requires: openssh Summary: package StarlingX configuration files of pam to system folder. %description