From 20d9a7a754168d7146aabe45421a1f5ebbb27109 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 --- base/openssh-config/centos/openssh-config.spec | 1 - config-files/pam-config/centos/pam-config.spec | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/base/openssh-config/centos/openssh-config.spec b/base/openssh-config/centos/openssh-config.spec index 4c11798e2..2a92c2b75 100644 --- a/base/openssh-config/centos/openssh-config.spec +++ b/base/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/config-files/pam-config/centos/pam-config.spec b/config-files/pam-config/centos/pam-config.spec index 1580bbc0e..908395d2d 100644 --- a/config-files/pam-config/centos/pam-config.spec +++ b/config-files/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