initial commit of file from CVS for e-smith-proftpd on Wed 12 Jul 09:05:44 BST 2023

This commit is contained in:
Brian Read
2023-07-12 09:05:44 +01:00
parent 9f1a450709
commit ced40fe923
81 changed files with 2005 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
MORE_DATA={ACCOUNTS_DENY_ALLOW_PUBLIC => 1}
TEMPLATE_PATH="/etc/e-smith/pam/accounts.deny"
OUTPUT_FILENAME="/etc/ftpusers"
PERMS=0644

View File

@@ -0,0 +1 @@
PERMS=0640

View File

@@ -0,0 +1,2 @@
PERMS=use esmith::ConfigDB; (esmith::ConfigDB->open_ro->get('ftp')->prop('access') eq "private") ? "000" : "0644"
FILTER=sub { $_[0] =~ /^#/ ? '' : $_[0] } # Remove comments

View File

@@ -0,0 +1,2 @@
PERMS=use esmith::ConfigDB; (esmith::ConfigDB->open_ro->get('ftp')->prop('status') eq "enabled") ? "0644" : "0000"
FILTER=sub { $_[0] =~ /^#/ ? '' : $_[0] } # Remove comments