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

Annotation of /rpms/smeserver-remoteuseraccess/contribs7/smeserver-remoteuseraccess-1.2-chrootpath.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Jun 13 09:43:48 2009 UTC (15 years, 5 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-remoteuseraccess-1_2-36_el4_sme, smeserver-remoteuseraccess-1_2-33_el4_sme, HEAD
* Sat Jun 13 2009 SME Translation Server <translations@contribs.org> 1.2-33
- chroot path not displayed in panel [SME: 5360]

1 dungog 1.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