create /etc/shadow if missing [release 4.5-3mamba;Thu Nov 09 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 17:46:21 +01:00
parent 67676173a1
commit 4906d0ac07

View File

@ -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 <silvan.calarco@mambasoft.it>
@ -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 <silvan.calarco@mambasoft.it> 4.5-3mamba
- create /etc/shadow if missing
* Mon Nov 06 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5-2mamba
- move to shadow-extra files conflicting with util-linux