]> Frank Brehm's Git Trees - config/uhu1/etc.git/commitdiff
committing changes in /etc after emerge run
authorfrank <frank@uhu1.uhu-banane.de>
Sat, 28 Jan 2012 21:45:11 +0000 (22:45 +0100)
committerroot <root@uhu1.uhu-banane.de>
Sat, 28 Jan 2012 21:45:11 +0000 (22:45 +0100)
Package changes:
+net-ftp/ftpbase-0.01-r2

.etckeeper
ftpusers [new file with mode: 0644]
pam.d/ftp [new file with mode: 0644]

index 163986b59af7e3c7cb47bae05be3e1f2082774e1..57ea815f29b7f28328418229b039b2df99b4b146 100755 (executable)
@@ -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 (file)
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 (file)
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