/[smeserver]/rpms/e-smith-proftpd/sme8/e-smith-proftpd-2.2.0-VRoot.patch
ViewVC logotype

Annotation of /rpms/e-smith-proftpd/sme8/e-smith-proftpd-2.2.0-VRoot.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Dec 20 07:11:56 2012 UTC (11 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-proftpd-2_2_0-4_el5_sme, e-smith-proftpd-2_2_0-5_el5_sme, e-smith-proftpd-2_2_0-3_el5_sme, e-smith-proftpd-2_2_0-6_el5_sme, HEAD
Add VRoot engine to avoid pam log error [SME: 7129]

1 wellsi 1.1 diff -ruN e-smith-proftpd-2.2.0.old/root/etc/e-smith/templates/etc/proftpd.conf/05AuthPam e-smith-proftpd-2.2.0/root/etc/e-smith/templates/etc/proftpd.conf/05AuthPam
2     --- e-smith-proftpd-2.2.0.old/root/etc/e-smith/templates/etc/proftpd.conf/05AuthPam 1970-01-01 01:00:00.000000000 +0100
3     +++ e-smith-proftpd-2.2.0/root/etc/e-smith/templates/etc/proftpd.conf/05AuthPam 2012-12-20 06:23:17.000000000 +0000
4     @@ -0,0 +1,3 @@
5     +# Use pam to authenticate (default) and be authoritative
6     +AuthPAMConfig proftpd
7     +AuthOrder mod_auth_pam.c* mod_auth_unix.c
8     diff -ruN e-smith-proftpd-2.2.0.old/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot e-smith-proftpd-2.2.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot
9     --- e-smith-proftpd-2.2.0.old/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot 2008-10-07 18:36:59.000000000 +0100
10     +++ e-smith-proftpd-2.2.0/root/etc/e-smith/templates/etc/proftpd.conf/05Chroot 2012-12-20 06:25:07.000000000 +0000
11     @@ -4,6 +4,11 @@
12     $OUT = "";
13     my $accounts = esmith::AccountsDB->open;
14     my @users = $accounts->users;
15     + $OUT .= "# Cause every FTP user to be chrooted into their home directory\n";
16     + $OUT .= "# Aliasing /etc/security/pam_env.conf into the chroot allows pam_env to\n";
17     + $OUT .= "# work at session-end time (http://bugzilla.redhat.com/477120)\n";
18     + $OUT .= "VRootEngine on\n";
19     + $OUT .= "VRootAlias etc/security/pam_env.conf /etc/security/pam_env.conf\n";
20    
21     foreach my $user (@users)
22     {

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed