From: frank Date: Sat, 28 Jan 2012 21:45:11 +0000 (+0100) Subject: committing changes in /etc after emerge run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=3495ee9418224b809c80e00eea1d6547cdaeb60a;p=config%2Fuhu1%2Fetc.git committing changes in /etc after emerge run Package changes: +net-ftp/ftpbase-0.01-r2 --- diff --git a/.etckeeper b/.etckeeper index 163986b..57ea815 100755 --- a/.etckeeper +++ b/.etckeeper @@ -474,6 +474,7 @@ maybe chmod 0644 './foomatic/filter.conf' maybe chmod 0644 './foomatic/filter.conf.sample' maybe chmod 0644 './freshclam.conf' maybe chmod 0644 './fstab' +maybe chmod 0644 './ftpusers' maybe chmod 0644 './gai.conf' maybe chmod 0755 './gconf' maybe chmod 0755 './gconf/2' @@ -745,6 +746,7 @@ maybe chmod 0644 './pam.d/chsh' maybe chmod 0644 './pam.d/cron' maybe chmod 0644 './pam.d/cups' maybe chmod 0644 './pam.d/cvs' +maybe chmod 0644 './pam.d/ftp' maybe chmod 0644 './pam.d/groupadd' maybe chmod 0644 './pam.d/groupdel' maybe chmod 0644 './pam.d/groupmems' diff --git a/ftpusers b/ftpusers new file mode 100644 index 0000000..4bc8872 --- /dev/null +++ b/ftpusers @@ -0,0 +1,37 @@ +# Provided by ftpbase (dont remove this line!) +# /etc/ftpusers: list of users disallowed FTP access +# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/files/ftpusers,v 1.1 2005/06/28 14:52:26 uberlord Exp $ + +halt +operator +root +shutdown +sync +bin +daemon +adm +lp +mail +postmaster +news +uucp +man +games +at +cron +www +named +squid +gdm +mysql +postgres +guest +nobody +alias +qmaild +qmaill +qmailp +qmailq +qmailr +qmails +postfix diff --git a/pam.d/ftp b/pam.d/ftp new file mode 100644 index 0000000..540844b --- /dev/null +++ b/pam.d/ftp @@ -0,0 +1,18 @@ +# Provided by ftpbase (dont remove this line!) +# Standard pam.d file for ftp service packages. +# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/files/ftp-pamd-include,v 1.1 2005/06/28 14:52:26 uberlord Exp $ + +auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed +auth include system-auth + +# If this is enabled, anonymous logins will fail because the 'ftp' user does +# not have a "valid" shell, as listed in /etc/shells. +# +# If you enable this, it is recommended that you do *not* give the 'ftp' +# user a real shell. Instead, give the 'ftp' user /bin/false for a shell and +# add /bin/false to /etc/shells. +# auth required pam_shells.so + +account include system-auth + +session include system-auth