diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 2a681224b20..4149d453ba6 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -1047,7 +1047,7 @@ install -D -p -m 0644 contrib/sssd.sysusers %{buildroot}%{_sysusersdir}/sssd.con %if %{use_sssd_user} %pre common %if %{use_sysusers} -%sysusers_create_compat contrib/sssd.sysusers +%sysusers_create_compat %{_sysusersdir}/sssd.conf %else getent group sssd >/dev/null || groupadd -r sssd getent passwd sssd >/dev/null || useradd -r -g sssd -d / -s /sbin/nologin -c "User for sssd" sssd