From 56b071858ba50e1c52e60e01cbf479c38eb528ff Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 4 Oct 2017 12:28:40 +0530 Subject: [PATCH] users: Restart nscd after setup The changes made for system login will not be effective until a restart. This includes SSH login, console login, getent answers, etc. Signed-off-by: Sunil Mohan Adapa Signed-off-by: Joseph Nuthalapati Reviewed-by: James Valleroy --- actions/users | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/users b/actions/users index 5df2968f0..de63ba530 100755 --- a/actions/users +++ b/actions/users @@ -63,6 +63,7 @@ def configure_slapd(): 'ldap-sasl-mech': 'EXTERNAL'}) action_utils.dpkg_reconfigure('libnss-ldapd', {'nsswitch': 'group, passwd, shadow'}) + action_utils.service_restart('nscd') def configure_ldap_structure():