/[smecontribs]/rpms/smeserver-remoteuseraccess/contribs8/smeserver-remoteuseraccess-1.2-chrootpath.patch
ViewVC logotype

Contents of /rpms/smeserver-remoteuseraccess/contribs8/smeserver-remoteuseraccess-1.2-chrootpath.patch

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


Revision 1.1 - (show annotations) (download)
Thu Feb 7 02:21:40 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-37_el5_sme, smeserver-remoteuseraccess-1_2-40_el5_sme, smeserver-remoteuseraccess-1_2-39_el5_sme, smeserver-remoteuseraccess-1_2-38_el5_sme, HEAD
Initial import

1 diff -urN smeserver-remoteuseraccess-1.2.orig/createlinks.orig smeserver-remoteuseraccess-1.2/createlinks.orig
2 --- smeserver-remoteuseraccess-1.2.orig/createlinks.orig 2006-04-14 19:59:32.000000000 +1000
3 +++ smeserver-remoteuseraccess-1.2/createlinks.orig 1970-01-01 10:00:00.000000000 +1000
4 @@ -1,11 +0,0 @@
5 -#!/usr/bin/perl -w
6 -use esmith::Build::CreateLinks qw(:all);
7 -
8 -panel_link("remoteuseraccess", 'manager');
9 -
10 -foreach $event (qw( create delete modify ))
11 -{
12 -templates2events("/etc/rssh.conf", "user-${event}");
13 -templates2events("/etc/proftpd.conf", "user-${event}");
14 -templates2events("/etc/sudoers", "user-${event}");
15 -}
16 \ No newline at end of file
17 diff -urN smeserver-remoteuseraccess-1.2.orig/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteuseraccess.pm smeserver-remoteuseraccess-1.2/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteuseraccess.pm
18 --- smeserver-remoteuseraccess-1.2.orig/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteuseraccess.pm 2009-06-13 19:02:18.000000000 +1000
19 +++ smeserver-remoteuseraccess-1.2/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/remoteuseraccess.pm 2009-06-13 19:26:47.000000000 +1000
20 @@ -107,11 +107,9 @@
21 my $shell = $user->prop('Shell') || '';
22 if ($shell eq '/usr/bin/rssh') { $shell = ''; }
23
24 - my $ChrootDir = $user->prop('ChrootDir') || "/home/e-smith/files/users/$username/home";
25 + my $ChrootDir = $user->prop('ChrootDir') || "";
26 $ChrootDir =~ s:/home/e-smith/files/ibays/::;
27 $ChrootDir =~ s:/home/e-smith/files/users/$username/home:home:;
28 - if (($ChrootDir eq '') || ($ChrootDir eq "home"))
29 - { $ChrootDir = ''; }
30
31 push @data,
32 { User => $user->key,

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