diff --git a/shadow.spec b/shadow.spec index e2fe6da..4a27ccb 100644 --- a/shadow.spec +++ b/shadow.spec @@ -3,7 +3,7 @@ Summary: Utilities for managing shadow password files and user/group accou Name: shadow Version: 4.5 Group: Applications/Security -Release: 2mamba +Release: 3mamba Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco @@ -187,6 +187,7 @@ if [ -e /etc/shadow.rpmsave ]; then fi fi fi +[ -e /etc/shadow ] || touch /etc/shadow chmod 0640 /etc/shadow chgrp shadow /etc/shadow exit 0 @@ -253,6 +254,9 @@ exit 0 %{_mandir}/man8/nologin.8* %changelog +* Thu Nov 09 2017 Silvan Calarco 4.5-3mamba +- create /etc/shadow if missing + * Mon Nov 06 2017 Silvan Calarco 4.5-2mamba - move to shadow-extra files conflicting with util-linux