diff --git a/vsftpd.changes b/vsftpd.changes index 3da391b..29dfa6e 100644 --- a/vsftpd.changes +++ b/vsftpd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 20 09:21:17 UTC 2012 - dimstar@opensuse.org + +- Fix useradd invocation: -o is useless without -u and newer + versions of pwdutils/shadowutils fail on this now. + ------------------------------------------------------------------- Mon Oct 22 13:38:57 UTC 2012 - mvyskocil@suse.com diff --git a/vsftpd.spec b/vsftpd.spec index 00c183c..72cc934 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -112,7 +112,7 @@ install -D -m 0644 %SOURCE7 %{buildroot}/%{_unitdir}/%{name}.service %endif %pre -/usr/sbin/useradd -r -o -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || : +/usr/sbin/useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d /var/lib/empty ftpsecure 2> /dev/null || : %if 0%{?suse_version} > 1140 %service_add_pre %{name}.service %endif