forked from pool/vsftpd
This commit is contained in:
parent
04364bf0b8
commit
74d07aeab6
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 22 14:27:27 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
- Fix user creation to not report error when user alredy exist
|
||||
Spotted during testing of bnc#971784
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 21 12:53:59 UTC 2016 - tchvatal@suse.com
|
||||
|
||||
|
@ -151,7 +151,7 @@ install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
||||
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
|
||||
%pre
|
||||
%{_sbindir}/useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null || :
|
||||
getent passwd ftpsecure >/dev/null || useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null
|
||||
%if %{with_systemd}
|
||||
%service_add_pre %{name}.service %{name}@.service %{name}.socket
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user