auto-import changelog data from vsftpd-1.0.1-5.src.rpm
Wed Apr 10 2002 Bill Nottingham <notting@redhat.com> 1.0.1-5 - don't spit out ugly errors if anonftp isn't installed (#62987) - fix horribly broken userlist setup (#62321)
This commit is contained in:
parent
5cf3a27631
commit
def38f8e98
15
vsftpd.ftpusers
Normal file
15
vsftpd.ftpusers
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Users that are not allowed to login via ftp
|
||||||
|
root
|
||||||
|
bin
|
||||||
|
daemon
|
||||||
|
adm
|
||||||
|
lp
|
||||||
|
sync
|
||||||
|
shutdown
|
||||||
|
halt
|
||||||
|
mail
|
||||||
|
news
|
||||||
|
uucp
|
||||||
|
operator
|
||||||
|
games
|
||||||
|
nobody
|
@ -1,5 +1,5 @@
|
|||||||
#%PAM-1.0
|
#%PAM-1.0
|
||||||
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/vsftpd.user_list onerr=succeed
|
auth required /lib/security/pam_listfile.so item=user sense=deny file=/etc/vsftpd.ftpusers onerr=succeed
|
||||||
auth required /lib/security/pam_stack.so service=system-auth
|
auth required /lib/security/pam_stack.so service=system-auth
|
||||||
auth required /lib/security/pam_shells.so
|
auth required /lib/security/pam_shells.so
|
||||||
account required /lib/security/pam_stack.so service=system-auth
|
account required /lib/security/pam_stack.so service=system-auth
|
||||||
|
15
vsftpd.spec
15
vsftpd.spec
@ -1,16 +1,19 @@
|
|||||||
|
%define optflags -g
|
||||||
Summary: vsftpd - Very Secure Ftp Daemon
|
Summary: vsftpd - Very Secure Ftp Daemon
|
||||||
Name: vsftpd
|
Name: vsftpd
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 4
|
Release: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: ftp://ferret.lmh.ox.ac.uk/pub/linux/
|
URL: ftp://ferret.lmh.ox.ac.uk/pub/linux/
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
Source1: vsftpd.xinetd
|
Source1: vsftpd.xinetd
|
||||||
Source2: vsftpd.pam
|
Source2: vsftpd.pam
|
||||||
Source3: vsftpd.user_list
|
Source3: vsftpd.ftpusers
|
||||||
|
Source4: vsftpd.user_list
|
||||||
Patch1: vsftpd-1.0.1-rh.patch
|
Patch1: vsftpd-1.0.1-rh.patch
|
||||||
Patch2: vsftpd-1.0.1-missingok.patch
|
Patch2: vsftpd-1.0.1-missingok.patch
|
||||||
|
Patch3: vsftpd-1.0.1-anon.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
Requires: xinetd, logrotate
|
Requires: xinetd, logrotate
|
||||||
Provides: ftpserver
|
Provides: ftpserver
|
||||||
@ -23,6 +26,7 @@ scratch.
|
|||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch1 -p1 -b .rh
|
%patch1 -p1 -b .rh
|
||||||
%patch2 -p1 -b .mok
|
%patch2 -p1 -b .mok
|
||||||
|
%patch3 -p1 -b .anon
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -43,7 +47,8 @@ install -m 644 vsftpd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
|
|||||||
install -m 644 RedHat/vsftpd.log $RPM_BUILD_ROOT/etc/logrotate.d/vsftpd.log
|
install -m 644 RedHat/vsftpd.log $RPM_BUILD_ROOT/etc/logrotate.d/vsftpd.log
|
||||||
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/xinetd.d/vsftpd
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/xinetd.d/vsftpd
|
||||||
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/vsftpd
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/vsftpd
|
||||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/vsftpd.user_list
|
install -m 600 %{SOURCE3} $RPM_BUILD_ROOT/etc/vsftpd.ftpusers
|
||||||
|
install -m 600 %{SOURCE4} $RPM_BUILD_ROOT/etc/vsftpd.user_list
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
@ -60,6 +65,10 @@ install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/vsftpd.user_list
|
|||||||
%{_mandir}/man8/vsftpd.*
|
%{_mandir}/man8/vsftpd.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 10 2002 Bill Nottingham <notting@redhat.com> 1.0.1-5
|
||||||
|
- don't spit out ugly errors if anonftp isn't installed (#62987)
|
||||||
|
- fix horribly broken userlist setup (#62321)
|
||||||
|
|
||||||
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.0.1-4
|
* Thu Feb 28 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.0.1-4
|
||||||
- s/Copyright/License/
|
- s/Copyright/License/
|
||||||
- add "missingok" to the logrotate script, so we don't get errors
|
- add "missingok" to the logrotate script, so we don't get errors
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
# vsftpd userlist
|
||||||
|
# If userlist_deny=NO, only allow users in this file
|
||||||
|
# If userlist_deny=YES (default), never allow users in this file, and
|
||||||
|
# do not even prompt for a password.
|
||||||
|
# Note that the default vsftpd pam config also checks /etc/vsftpd.ftpusers
|
||||||
|
# for users that are denied.
|
||||||
root
|
root
|
||||||
bin
|
bin
|
||||||
daemon
|
daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user