You can subscribe to this list here.
2001 |
Jan
(13) |
Feb
(24) |
Mar
(23) |
Apr
(11) |
May
(18) |
Jun
(90) |
Jul
(29) |
Aug
(26) |
Sep
(37) |
Oct
(10) |
Nov
(31) |
Dec
(11) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(45) |
Feb
(18) |
Mar
(12) |
Apr
(7) |
May
(10) |
Jun
(62) |
Jul
(8) |
Aug
(40) |
Sep
(41) |
Oct
(43) |
Nov
(29) |
Dec
(36) |
2003 |
Jan
(25) |
Feb
(9) |
Mar
(11) |
Apr
(13) |
May
(19) |
Jun
(19) |
Jul
(11) |
Aug
(4) |
Sep
(109) |
Oct
(73) |
Nov
(69) |
Dec
(21) |
2004 |
Jan
(21) |
Feb
(33) |
Mar
(31) |
Apr
(25) |
May
(33) |
Jun
(42) |
Jul
(47) |
Aug
(12) |
Sep
(41) |
Oct
(47) |
Nov
(30) |
Dec
(19) |
2005 |
Jan
(6) |
Feb
(23) |
Mar
(21) |
Apr
(26) |
May
(21) |
Jun
(16) |
Jul
(17) |
Aug
(7) |
Sep
(8) |
Oct
(13) |
Nov
(7) |
Dec
(10) |
2006 |
Jan
(10) |
Feb
(3) |
Mar
|
Apr
(2) |
May
|
Jun
(3) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
(4) |
2007 |
Jan
(2) |
Feb
(3) |
Mar
(2) |
Apr
|
May
(1) |
Jun
(6) |
Jul
(6) |
Aug
(8) |
Sep
(3) |
Oct
(21) |
Nov
(4) |
Dec
(6) |
2008 |
Jan
(11) |
Feb
(28) |
Mar
(26) |
Apr
(9) |
May
(2) |
Jun
(10) |
Jul
(1) |
Aug
(20) |
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(4) |
Feb
(10) |
Mar
(1) |
Apr
(24) |
May
(22) |
Jun
(18) |
Jul
(15) |
Aug
(21) |
Sep
(4) |
Oct
(7) |
Nov
(6) |
Dec
|
2010 |
Jan
|
Feb
(2) |
Mar
(13) |
Apr
|
May
(4) |
Jun
|
Jul
|
Aug
(4) |
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
|
2011 |
Jan
(18) |
Feb
(2) |
Mar
(23) |
Apr
(4) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
|
Nov
(5) |
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(31) |
Apr
(3) |
May
|
Jun
(2) |
Jul
(6) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(7) |
2014 |
Jan
|
Feb
(1) |
Mar
(9) |
Apr
(4) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
2016 |
Jan
|
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
(7) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: PEOPLES, M. P <mp...@at...> - 2013-03-20 19:24:06
|
What I always do is look through all of the other modules to see if I can find a function like the one I want, or at least one that is similar. Then, examine the code in that module and modify it to your requirements. If you're curious as to which modules might contain such functions, search for JavaScript references in the files. You can do this finding all the files containing source code, creating a list of them, then looping through the list, searching each file for the "jsp" or other relevant tags. This may not always work for you, but it's how I created my custom modules. Michael Peoples (mp4783) iGEMS COE, Deployment, Engineering, Application Support and Security Global Service Assurance, M5 AT&T Business Solutions Office: +1 614-886-0923 Mobile: +1 614-886-0923 Senior Systems Manager mpe...@at...<mailto:mpe...@at...> This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." From: Emma wasanzy [mailto:emm...@gm...] Sent: Wednesday, March 20, 2013 3:15 PM To: Webmin development list; Webmin users list Subject: [webmin-devel] Select button Hello, In the module am writing for tomcat, I want to provide two select menu(dropdown menu). There a so many tomcat instance and each of them has applications under them. Now, if someone want to upload a new jsp to a particular tomcat say /var/lib/tomcat5/webapps/myapp is where the jsp will be uploaded to. I want the first select menu to provide the list of all the tomcat instances on the server(This I have done successfully). The second select menu should contain all the applications under the selected tomcat instance from the first menu select. so if I select tomcat5, the second select menu should load automatically all the applications under tomcat5. I know there is a javascript function that can do something like that (onchange or so). But how can I do this? Any help will be appreciated much. I have my two menu select with the code below: print &ui_table_row($text{'inst_select'}, &ui_select("inst", $in{'inst'}, [ map { [ $_ ] } @insts ] ) ); This is not working yet. print &ui_table_row( $text{'select_app'}, &ui_select("ap", $in{'inst'}, [ map { [ $_ ] } @apps ] ) ); I will be using the two select menu to construct the directory to which the jsp is to be saved. Cheers! |
From: Emma w. <emm...@gm...> - 2013-03-20 19:15:15
|
Hello, In the module am writing for tomcat, I want to provide two select menu(dropdown menu). There a so many tomcat instance and each of them has applications under them. Now, if someone want to upload a new jsp to a particular tomcat say /var/lib/tomcat5/webapps/myapp is where the jsp will be uploaded to. I want the first select menu to provide the list of all the tomcat instances on the server(This I have done successfully). The second select menu should contain all the applications under the selected tomcat instance from the first menu select. so if I select tomcat5, the second select menu should load automatically all the applications under tomcat5. I know there is a javascript function that can do something like that (onchange or so). But how can I do this? Any help will be appreciated much. I have my two menu select with the code below: print &ui_table_row($text{'inst_select'}, &ui_select("inst", $in{'inst'}, [ map { [ $_ ] } @insts ] ) ); This is not working yet. print &ui_table_row( $text{'select_app'}, &ui_select("ap", $in{'inst'}, [ map { [ $_ ] } @apps ] ) ); I will be using the two select menu to construct the directory to which the jsp is to be saved. Cheers! |
From: Emma w. <emm...@gm...> - 2013-03-19 06:11:32
|
Thank you Jamie, I have solved the problem. On Mar 19, 2013 4:32 AM, "Jamie Cameron" <jca...@we...> wrote: > Can you give us more details about what is going wrong with this > code exactly? > > On 18/Mar/2013 13:20 Emma wasanzy <emm...@gm...> wrote .. > > Hello, > > > > Can anyone tell me what the problem with this part of code. Is part of > the > > webmin module am writing for tomcat. > > > > > > if ( $instance eq "tomcat5" ){ > > if ( $log_type eq "catalina.out") { > > if ( $num_day eq "current" ) { > > $tomcat_log = "/var/log/tomcat5/catalina.out"; > > } > > else { > > $tomcat_log = "/var/log/tomcat5/catalina.out-$day.gz"; > > } > > } > > elsif ( $log_type eq "access_log" ) { > > if ( $num_day eq "current") { > > $tomcat_log = > > "/var/log/tomcat5/access-logs/tomcat_access.log-$current"; > > } > > else { > > $tomcat_log = > > "/var/log/tomcat5/access-logs/tomcat_access.log-$inday.gz"; > > } > > } > > } > > else { > > if ( $log_type eq "catalina.out" ) { > > if ( $num_day eq "current" ) { > > $tomcat_log = "/var/lib/$instance/logs/catalina.out"; > > } > > else { > > $tomcat_log = "/var/lib/$instance/logs/catalina.out-$day.gz"; > > } > > } > > elsif ($log_type eq "access_log" ) { > > if ( $num_day eq "current") { > > $tomcat_log = > > "/var/lib/$instance/access-logs/tomcat_access.log-$current"; > > } > > else { > > $tomcat_log = > > "/var/lib/$instance/access-logs/tomcat_access.log-$inday.gz"; > > } > > } > > } > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > |
From: Jamie C. <jca...@we...> - 2013-03-19 04:31:35
|
Can you give us more details about what is going wrong with this code exactly? On 18/Mar/2013 13:20 Emma wasanzy <emm...@gm...> wrote .. > Hello, > > Can anyone tell me what the problem with this part of code. Is part of the > webmin module am writing for tomcat. > > > if ( $instance eq "tomcat5" ){ > if ( $log_type eq "catalina.out") { > if ( $num_day eq "current" ) { > $tomcat_log = "/var/log/tomcat5/catalina.out"; > } > else { > $tomcat_log = "/var/log/tomcat5/catalina.out-$day.gz"; > } > } > elsif ( $log_type eq "access_log" ) { > if ( $num_day eq "current") { > $tomcat_log = > "/var/log/tomcat5/access-logs/tomcat_access.log-$current"; > } > else { > $tomcat_log = > "/var/log/tomcat5/access-logs/tomcat_access.log-$inday.gz"; > } > } > } > else { > if ( $log_type eq "catalina.out" ) { > if ( $num_day eq "current" ) { > $tomcat_log = "/var/lib/$instance/logs/catalina.out"; > } > else { > $tomcat_log = "/var/lib/$instance/logs/catalina.out-$day.gz"; > } > } > elsif ($log_type eq "access_log" ) { > if ( $num_day eq "current") { > $tomcat_log = > "/var/lib/$instance/access-logs/tomcat_access.log-$current"; > } > else { > $tomcat_log = > "/var/lib/$instance/access-logs/tomcat_access.log-$inday.gz"; > } > } > } |
From: Emma w. <emm...@gm...> - 2013-03-18 20:20:59
|
Hello, Can anyone tell me what the problem with this part of code. Is part of the webmin module am writing for tomcat. if ( $instance eq "tomcat5" ){ if ( $log_type eq "catalina.out") { if ( $num_day eq "current" ) { $tomcat_log = "/var/log/tomcat5/catalina.out"; } else { $tomcat_log = "/var/log/tomcat5/catalina.out-$day.gz"; } } elsif ( $log_type eq "access_log" ) { if ( $num_day eq "current") { $tomcat_log = "/var/log/tomcat5/access-logs/tomcat_access.log-$current"; } else { $tomcat_log = "/var/log/tomcat5/access-logs/tomcat_access.log-$inday.gz"; } } } else { if ( $log_type eq "catalina.out" ) { if ( $num_day eq "current" ) { $tomcat_log = "/var/lib/$instance/logs/catalina.out"; } else { $tomcat_log = "/var/lib/$instance/logs/catalina.out-$day.gz"; } } elsif ($log_type eq "access_log" ) { if ( $num_day eq "current") { $tomcat_log = "/var/lib/$instance/access-logs/tomcat_access.log-$current"; } else { $tomcat_log = "/var/lib/$instance/access-logs/tomcat_access.log-$inday.gz"; } } } |
From: Emma w. <emm...@gm...> - 2013-03-15 16:36:05
|
Ok thank you so much! On Fri, Mar 15, 2013 at 2:58 PM, PEOPLES, MICHAEL P <mp...@at...> wrote: > The closest thing I’ve found to truly manage Tomcat is an Apache project > called Geronimo.**** > > ** ** > > This is a distribution of Apache technologies that include Tomcat. The > administrative interface is extremely rich and allows for control over a > wide range of configuration properties for Tomcat as well as other related > technologies.**** > > ** ** > > You can see this at:**** > > ** ** > > http://geronimo.apache.org/**** > > ** ** > > ** ** > > ** ** > > Michael Peoples (mp4783)**** > > iGEMS COE, Deployment, Engineering, Application Support and Security**** > > Global Service Assurance, M5**** > > AT&T Business Solutions**** > > Office: +1 614-886-0923**** > > Mobile: +1 614-886-0923**** > > ** ** > > Senior Systems Manager**** > > mpe...@at...**** > > ** ** > > *This e-mail and any files transmitted with it are AT&T property, are > confidential, and are intended solely for the use of the individual or > entity to whom this email is addressed. If you are not one of the named > recipient(s) or otherwise have reason to believe that you have received > this message in error, please notify the sender and delete this message > immediately from your computer. Any other use, retention, dissemination, > forwarding, printing, or copying of this e-mail is strictly prohibited."** > *** > > ** ** > > *From:* Emma wasanzy [mailto:emm...@gm...] > *Sent:* Friday, March 15, 2013 6:31 AM > *To:* web...@li... > *Subject:* [webmin-devel] Apache tomcat**** > > ** ** > > Hello,**** > > ** ** > > I have already posted this question through other medium but no result was > fetched so I am posting it here too.**** > > ** ** > > ** ** > > Please is there a module for managing Apache Tomcat? I know there is for > Apache web server but I need one for tomcat.**** > > ** ** > > ** ** > > Cheers!**** > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > |
From: PEOPLES, M. P <mp...@at...> - 2013-03-15 15:13:50
|
The closest thing I've found to truly manage Tomcat is an Apache project called Geronimo. This is a distribution of Apache technologies that include Tomcat. The administrative interface is extremely rich and allows for control over a wide range of configuration properties for Tomcat as well as other related technologies. You can see this at: http://geronimo.apache.org/ Michael Peoples (mp4783) iGEMS COE, Deployment, Engineering, Application Support and Security Global Service Assurance, M5 AT&T Business Solutions Office: +1 614-886-0923 Mobile: +1 614-886-0923 Senior Systems Manager mpe...@at...<mailto:mpe...@at...> This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." From: Emma wasanzy [mailto:emm...@gm...] Sent: Friday, March 15, 2013 6:31 AM To: web...@li... Subject: [webmin-devel] Apache tomcat Hello, I have already posted this question through other medium but no result was fetched so I am posting it here too. Please is there a module for managing Apache Tomcat? I know there is for Apache web server but I need one for tomcat. Cheers! |
From: Emma w. <emm...@gm...> - 2013-03-15 10:31:48
|
Hello, I have already posted this question through other medium but no result was fetched so I am posting it here too. Please is there a module for managing Apache Tomcat? I know there is for Apache web server but I need one for tomcat. Cheers! |
From: Chris N. <cni...@fo...> - 2013-03-08 18:49:25
|
On Fri, Mar 8, 2013 at 1:35 PM, Chris Nighswonger <cni...@fo...> wrote: > On Fri, Mar 8, 2013 at 1:07 PM, Jamie Cameron <jca...@we...> wrote: >> >> Perhaps forcing a change of package (as happens in that block) is the >> cause of the problem? > > I thought the same thing. So I ran a one-liner from the cli doing and > eval and forcing a package change. Sure enough: it threw the same > error. Sadly, though, when I commented out the package change in > miniserv, it still borked. > > Also, when using the very simple script in which the actual Python was > embedded, forcing a package change made no difference. The simple > script worked either way. When I force the module cgi script to be executed in the root user's env (by changing the shebang line to #!/usr/bin/env /usr/bin/perl), it works and miniserv borks due to the lack of headers (which is what I would expect). So something must differ from root's environment in the environment miniserv executes the script in. At present I don't see any significant difference, however. Kind Regards, Chris |
From: Chris N. <cni...@fo...> - 2013-03-08 18:36:10
|
On Fri, Mar 8, 2013 at 1:07 PM, Jamie Cameron <jca...@we...> wrote: > On 08/Mar/2013 07:21 Chris Nighswonger <cni...@fo...> wrote .. >> >> Things appear to go bad with the eval block here: >> >> https://github.com/webmin/webmin/blob/master/miniserv.pl#L2337 >> >> So I'm guessing that its a problem with the environment in which the >> eval is executed. Though what it is, I am unsure. > > Perhaps forcing a change of package (as happens in that block) is the > cause of the problem? I thought the same thing. So I ran a one-liner from the cli doing and eval and forcing a package change. Sure enough: it threw the same error. Sadly, though, when I commented out the package change in miniserv, it still borked. Also, when using the very simple script in which the actual Python was embedded, forcing a package change made no difference. The simple script worked either way. Kind Regards, Chris |
From: Jamie C. <jca...@we...> - 2013-03-08 18:08:09
|
On 08/Mar/2013 07:21 Chris Nighswonger <cni...@fo...> wrote .. > On Fri, Mar 8, 2013 at 9:19 AM, Chris Nighswonger > <cni...@fo...> wrote: > > On Fri, Mar 8, 2013 at 8:07 AM, Chris Nighswonger > > <cni...@fo...> wrote: > > > > It may be something with miniserv rather than Webmin proper. I can > > write a script which does not load/require any code related to Webmin > > or my module, but uses Inline in the same fashion. This script will > > also run from the cli, but errors in the exact same way when served by > > miniserv. > > Sorry for replying to myself again. > > Things appear to go bad with the eval block here: > > https://github.com/webmin/webmin/blob/master/miniserv.pl#L2337 > > So I'm guessing that its a problem with the environment in which the > eval is executed. Though what it is, I am unsure. Perhaps forcing a change of package (as happens in that block) is the cause of the problem? - Jamie |
From: Chris N. <cni...@fo...> - 2013-03-08 17:02:24
|
On Fri, Mar 8, 2013 at 10:21 AM, Chris Nighswonger <cni...@fo...> wrote: > So I'm guessing that its a problem with the environment in which the > eval is executed. Though what it is, I am unsure. Further testing indicates that the problem is environment, but not due to anything Webmin is/isn't doing. Writing an extremely simplified script using Inline::Python and a couple of simple Python functions within the Perl script itself proved to work as expected both within and without Webmin. The problem arises when including external Python libs in Perl scripts. I'm guessing that Inline::Python has to call the Python interpreter at some point. Maybe when this happens, the environment is not setup correctly for Python to locate the required libs. So sorry for the false alarm. I'll follow up with the fix if I find it since someone else may want to use Inline in their Webmin modules at some point. Kind Regards, Chris |
From: Chris N. <cni...@fo...> - 2013-03-08 15:21:47
|
On Fri, Mar 8, 2013 at 9:19 AM, Chris Nighswonger <cni...@fo...> wrote: > On Fri, Mar 8, 2013 at 8:07 AM, Chris Nighswonger > <cni...@fo...> wrote: > > It may be something with miniserv rather than Webmin proper. I can > write a script which does not load/require any code related to Webmin > or my module, but uses Inline in the same fashion. This script will > also run from the cli, but errors in the exact same way when served by > miniserv. Sorry for replying to myself again. Things appear to go bad with the eval block here: https://github.com/webmin/webmin/blob/master/miniserv.pl#L2337 So I'm guessing that its a problem with the environment in which the eval is executed. Though what it is, I am unsure. Kind Regards, Chris |
From: Chris N. <cni...@fo...> - 2013-03-08 14:19:39
|
On Fri, Mar 8, 2013 at 8:07 AM, Chris Nighswonger <cni...@fo...> wrote: > It happens when I call init_config() > > A brief reading of that sub seems to indicate plenty of potential for > some sort of change which would result in the problem I'm seeing. > Exactly what it is, I don't know. > Ok. I finally got my environment setup to execute my Webmin module cgi's from the cli. It is not init_config(). The script produces the expected results when called from the cli. It errors out when loaded into the browser with: Can't locate object method "new" via package "FooBar" (perhaps you forgot to load "FooBar"?) at ./my_module-lib.pl line 64. It may be something with miniserv rather than Webmin proper. I can write a script which does not load/require any code related to Webmin or my module, but uses Inline in the same fashion. This script will also run from the cli, but errors in the exact same way when served by miniserv. Kind Regards, Chris |
From: Chris N. <cni...@fo...> - 2013-03-08 13:07:40
|
On Thu, Mar 7, 2013 at 1:45 PM, Jamie Cameron <jca...@we...> wrote: > > On 07/Mar/2013 09:57 Chris Nighswonger <cni...@fo...> wrote .. <snip> > > > > "Can't locate object method "new" via package "FooBar" (perhaps you forgot > > to load "FooBar"?)" > > > > Where "FooBar" is the Perl name for a Python class "foobar". <snip> > > It could be that Webmin is modifying @INC, such as when you call code > in another Webmin module. You mentioned that this only happens when you > call the webmin pre-reqs .. which specific line of code triggers the problem? It happens when I call init_config() A brief reading of that sub seems to indicate plenty of potential for some sort of change which would result in the problem I'm seeing. Exactly what it is, I don't know. Kind Regards, Chris |
From: Jamie C. <jca...@we...> - 2013-03-07 18:45:40
|
On 07/Mar/2013 09:57 Chris Nighswonger <cni...@fo...> wrote .. > Hi all, > > I'm attempting to use Inline::Python in a webmin module. > > I can execute the script from the command line and things go just fine: I > am able to bind to the Python lib and create objects based on Python > classes, etc. > > Once I add code to the script to load up the required webmin prereqs, the > problems start. I end up with an error like this: > > "Can't locate object method "new" via package "FooBar" (perhaps you forgot > to load "FooBar"?)" > > Where "FooBar" is the Perl name for a Python class "foobar". > > For some reason it looks like maybe @INC is not correct the second time > around, but I cannot confirm that. > > Could it be that Inline compiles the library in one location, but somehow > there is a change relative to that location once inside of the webmin > environment? > > Any thoughts on what's going on? It could be that Webmin is modifying @INC, such as when you call code in another Webmin module. You mentioned that this only happens when you call the webmin pre-reqs .. which specific line of code triggers the problem? - Jamie |
From: Chris N. <cni...@fo...> - 2013-03-07 18:24:43
|
Hi all, I'm attempting to use Inline::Python in a webmin module. I can execute the script from the command line and things go just fine: I am able to bind to the Python lib and create objects based on Python classes, etc. Once I add code to the script to load up the required webmin prereqs, the problems start. I end up with an error like this: "Can't locate object method "new" via package "FooBar" (perhaps you forgot to load "FooBar"?)" Where "FooBar" is the Perl name for a Python class "foobar". For some reason it looks like maybe @INC is not correct the second time around, but I cannot confirm that. Could it be that Inline compiles the library in one location, but somehow there is a change relative to that location once inside of the webmin environment? Any thoughts on what's going on? Kind Regards, Chris |
From: David L. <dav...@us...> - 2012-07-27 16:17:36
|
Hi, Sorry for the previous posts - should have sent reply in plain-text. I think these two patches are correct. init-lib.patch - Upstart services should call "initctl" instead of "service". diff --git init/init-lib.pl init/init-lib.pl index 89301d5..37eb8dc 100755 --- init/init-lib.pl +++ init/init-lib.pl @@ -1695,7 +1695,7 @@ sub start_upstart_service { my ($name) = @_; my $out = &backquote_logged( - "service ".quotemeta($name)." start 2>&1 </dev/null"); + "initctl start ".quotemeta($name)." 2>&1 </dev/null"); return (!$?, $out); } @@ -1708,7 +1708,7 @@ sub stop_upstart_service { my ($name) = @_; my $out = &backquote_logged( - "service ".quotemeta($name)." stop 2>&1 </dev/null"); + "initctl stop ".quotemeta($name)." 2>&1 </dev/null"); return (!$?, $out); } @@ -1721,7 +1721,7 @@ sub restart_upstart_service { my ($name) = @_; my $out = &backquote_logged( - "service ".quotemeta($name)." restart 2>&1 </dev/null"); + "initctl restart ".quotemeta($name)." 2>&1 </dev/null"); return (!$?, $out); } webmin-sshd.patch - Fixed typo and changed "rsa" to "dsa". Added 'AUTHPRIV' to list of syslog facility codes. diff --git sshd/edit_users.cgi sshd/edit_users.cgi index a72f1ff..8acb0b0 100755 --- sshd/edit_users.cgi +++ sshd/edit_users.cgi @@ -84,7 +84,7 @@ if ($version{'type'} ne 'ssh' || $version{'number'} < 3) { # SSH 2 DSA authentication if ($version{'type'} eq 'openssh' && $version{'number'} >= 3) { - $rsa = &find_value("PubkeyAuthentication", $conf); + $dsa = &find_value("PubkeyAuthentication", $conf); print &ui_table_row($text{'users_dsa'}, &ui_yesno_radio('dsa', lc($dsa) ne 'no')); } diff --git sshd/sshd-lib.pl sshd/sshd-lib.pl index fcbd50f..bb910b1 100755 --- sshd/sshd-lib.pl +++ sshd/sshd-lib.pl @@ -356,7 +356,7 @@ if (&foreign_check("syslog")) { @facils = map { uc($_) } split(/\s+/, $sconfig{'facilities'}); } if (!@facils) { - @facils = ( 'DAEMON', 'USER', 'AUTH', 'LOCAL0', 'LOCAL1', 'LOCAL2', + @facils = ( 'DAEMON', 'USER', 'AUTH', 'AUTHPRIV', 'LOCAL0', 'LOCAL1', 'LOCAL2', 'LOCAL3', 'LOCAL4', 'LOCAL5', 'LOCAL6', 'LOCAL7' ); } return @facils; Thanks! -David Lam |
From: Jamie C. <jca...@we...> - 2012-07-26 21:18:17
|
You can just email them to me directly. Or submit them via github.com , in the webmin project. David Lam <dav...@us...> wrote: >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >- >Forwarded by the Webmin development list at web...@we... >To remove yourself from this list, go to >http://lists.sourceforge.net/lists/listinfo/webadmin-devel |
From: David L. <dav...@us...> - 2012-07-26 20:58:05
|
Hi, First-time Sourceforge user here. I wanted to send some simple patches for Webmin, but wasn't sure what the best way was. Should I post them on the Patches section, or should I send an email out on the mailing list first? Thanks, David Lam |
From: PEOPLES, M. P <mp...@at...> - 2011-11-14 14:50:22
|
You can find the various mailing lists and support forums on SourceForge.net. Search for "Webmin" and you will find not only the Webmin support community, but other Webmin modules that may interest you. As to you specific requirement, I always look through the Webmin modules until I find the feature I am looking for. So you should find a module that has the type of progress bar you are looking for. Then, you will need to look at the page source to find the subroutines being called. Remember, within a module (which nearly always sits in its own directory off of the Webmin base directory (e.g., /opt/webmin), will be the index.cgi file. This is where everything starts. As I stated before, you will then have to trace through the code to the subroutines you need. Jamie built the subroutines in the various APIs in a manner that allows you to call them directly with the correct parameters. You must also reference them with "require" or "use" commands. As always, look to the existing code for examples of how others have done what you are doing. If you cannot find the progress bar functionality you are looking for within Webmin, there is no reason you can't get it elsewhere. For example, if you find a JavaScript progress bar that you like, then you can embed that code within your page, pretty much as it exists on the page where you found it. However, you will need to get the underlying framework that supports it (e.g., JQuery, Dojo, etc.) and install it on your server. You will then need to modify the references in the <script> tags to point to the library. If you have identified a specific progress bar you like, tell me where it is and I'll see what I can do to help you. Michael Peoples (mp4783) Senior Systems Manager AT&T - ATTSI Office/Cell: 614-886-0923 mpe...@at...<mailto:mpe...@at...> This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." From: Agnello George [mailto:agn...@gm...] Sent: Monday, November 14, 2011 9:27 AM To: Webmin development list Subject: Re: [webmin-devel] New joinee to webmin-dev Thanks a lot Michael for the for all the tips , i am basically a systems engineer and know a little of perl scripting ... One specific query i am searching today is , how to use a progress-bar while uploading uploading .. i use template ::Toolkit. Second is what are the other maillinglist for webmin Agnello On Mon, Nov 14, 2011 at 7:43 PM, PEOPLES, MICHAEL P <mp...@at...<mailto:mp...@at...>> wrote: Welcome, Agnello. This list is not very active, in my experience, so you might also consider joining some other Webmin related lists also. I am in a somewhat similar situation to you, but I've been working with the Webmin code for about a year. My Perl experience is still rather limited. What you will find is that Webmin is a superb example of tight, efficient coding. Jamie Cameron, I grovel before his magnificence, has created a system that allows you to abstract most common administrative functions into a common, user-friendly interface. Webmin provides an "ecosystem" from which you can build additional modules to meet your specific needs. That said, it will take you some time to figure out how it all goes together. Because Webmin code is based up on the use of subroutines contained within a few major API files (e.g., Webmin.cor, ui-lib.pl<http://ui-lib.pl>, etc.), you have to follow references through multiple files to understand the structure of a particular module. The best way to understand this would be to first read the documentation. This will take time, and there is no real "programming" book for Webmin. You should work through the module creation example and examine the API libraries. What you will find is, there are pre-built subroutines and variables for nearly all required graphical elements and most "housekeeping" functions (e.g., figuring out who the logged in user is). I would also look at a simple module and breakdown its structure and program control flow. If you don't already use Firefox and Firebug, I would suggest trying them. If you have specific questions, I'll try to help you, as others have helped me, with my own limited knowledge. Michael Peoples (mp4783) Senior Systems Manager AT&T - ATTSI Office/Cell: 614-886-0923<tel:614-886-0923> mpe...@at...<mailto:mpe...@at...> This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." From: Agnello George [mailto:agn...@gm...<mailto:agn...@gm...>] Sent: Saturday, November 12, 2011 3:38 PM To: web...@li...<mailto:web...@li...> Subject: [webmin-devel] New joinee to webmin-dev Hi I am a new joinee to webmin-dev, i have written a few perl cgi programs and consider my self a learner in perl programming, my main reason for joining this list is to to understand the framework in which the webmin is written and to improve my perl programming skills by referring to already existing well written code. I would love to contribute but i would have to come up to speed for that and that might take some time . Thought this is nice way to introduce my self, its a honor to be in this list . Thank you -- Regards Agnello D'souza ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 - Forwarded by the Webmin development list at web...@we...<mailto:web...@we...> To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- Regards Agnello D'souza |
From: Agnello G. <agn...@gm...> - 2011-11-14 14:26:51
|
Thanks a lot Michael for the for all the tips , i am basically a systems engineer and know a little of perl scripting ... One specific query i am searching today is , how to use a progress-bar while uploading uploading .. i use template ::Toolkit. Second is what are the other maillinglist for webmin Agnello On Mon, Nov 14, 2011 at 7:43 PM, PEOPLES, MICHAEL P <mp...@at...> wrote: > Welcome, Agnello.**** > > ** ** > > This list is not very active, in my experience, so you might also consider > joining some other Webmin related lists also.**** > > ** ** > > I am in a somewhat similar situation to you, but I’ve been working with > the Webmin code for about a year. My Perl experience is still rather > limited.**** > > ** ** > > What you will find is that Webmin is a superb example of tight, efficient > coding. Jamie Cameron, I grovel before his magnificence, has created a > system that allows you to abstract most common administrative functions > into a common, user-friendly interface. Webmin provides an “ecosystem” > from which you can build additional modules to meet your specific needs.** > ** > > ** ** > > That said, it will take you some time to figure out how it all goes > together. Because Webmin code is based up on the use of subroutines > contained within a few major API files (e.g., Webmin.cor, ui-lib.pl, > etc.), you have to follow references through multiple files to understand > the structure of a particular module.**** > > ** ** > > The best way to understand this would be to first read the documentation. > This will take time, and there is no real “programming” book for Webmin. > You should work through the module creation example and examine the API > libraries. What you will find is, there are pre-built subroutines and > variables for nearly all required graphical elements and most > “housekeeping” functions (e.g., figuring out who the logged in user is).** > ** > > ** ** > > I would also look at a simple module and breakdown its structure and > program control flow. If you don’t already use Firefox and Firebug, I > would suggest trying them.**** > > ** ** > > If you have specific questions, I’ll try to help you, as others have > helped me, with my own limited knowledge.**** > > ** ** > > Michael Peoples (mp4783)**** > > Senior Systems Manager**** > > AT&T - ATTSI**** > > Office/Cell: 614-886-0923**** > > mpe...@at...**** > > ** ** > > *This e-mail and any files transmitted with it are AT&T property, are > confidential, and are intended solely for the use of the individual or > entity to whom this email is addressed. If you are not one of the named > recipient(s) or otherwise have reason to believe that you have received > this message in error, please notify the sender and delete this message > immediately from your computer. Any other use, retention, dissemination, > forwarding, printing, or copying of this e-mail is strictly prohibited."** > *** > > ** ** > > *From:* Agnello George [mailto:agn...@gm...] > *Sent:* Saturday, November 12, 2011 3:38 PM > *To:* web...@li... > *Subject:* [webmin-devel] New joinee to webmin-dev**** > > ** ** > > Hi > > I am a new joinee to webmin-dev, i have written a few perl cgi programs > and consider my self a learner in perl programming, my main reason for > joining this list is to to understand the framework in which the webmin is > written and to improve my perl programming skills by referring to already > existing well written code. I would love to contribute but i would have to > come up to speed for that and that might take some time . Thought this is > nice way to introduce my self, its a honor to be in this list . > > Thank you > > > > -- > Regards > Agnello D'souza > > **** > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel > > -- Regards Agnello D'souza |
From: PEOPLES, M. P <mp...@at...> - 2011-11-14 14:13:18
|
Welcome, Agnello. This list is not very active, in my experience, so you might also consider joining some other Webmin related lists also. I am in a somewhat similar situation to you, but I've been working with the Webmin code for about a year. My Perl experience is still rather limited. What you will find is that Webmin is a superb example of tight, efficient coding. Jamie Cameron, I grovel before his magnificence, has created a system that allows you to abstract most common administrative functions into a common, user-friendly interface. Webmin provides an "ecosystem" from which you can build additional modules to meet your specific needs. That said, it will take you some time to figure out how it all goes together. Because Webmin code is based up on the use of subroutines contained within a few major API files (e.g., Webmin.cor, ui-lib.pl, etc.), you have to follow references through multiple files to understand the structure of a particular module. The best way to understand this would be to first read the documentation. This will take time, and there is no real "programming" book for Webmin. You should work through the module creation example and examine the API libraries. What you will find is, there are pre-built subroutines and variables for nearly all required graphical elements and most "housekeeping" functions (e.g., figuring out who the logged in user is). I would also look at a simple module and breakdown its structure and program control flow. If you don't already use Firefox and Firebug, I would suggest trying them. If you have specific questions, I'll try to help you, as others have helped me, with my own limited knowledge. Michael Peoples (mp4783) Senior Systems Manager AT&T - ATTSI Office/Cell: 614-886-0923 mpe...@at...<mailto:mpe...@at...> This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited." From: Agnello George [mailto:agn...@gm...] Sent: Saturday, November 12, 2011 3:38 PM To: web...@li... Subject: [webmin-devel] New joinee to webmin-dev Hi I am a new joinee to webmin-dev, i have written a few perl cgi programs and consider my self a learner in perl programming, my main reason for joining this list is to to understand the framework in which the webmin is written and to improve my perl programming skills by referring to already existing well written code. I would love to contribute but i would have to come up to speed for that and that might take some time . Thought this is nice way to introduce my self, its a honor to be in this list . Thank you -- Regards Agnello D'souza |
From: Agnello G. <agn...@gm...> - 2011-11-12 20:38:30
|
Hi I am a new joinee to webmin-dev, i have written a few perl cgi programs and consider my self a learner in perl programming, my main reason for joining this list is to to understand the framework in which the webmin is written and to improve my perl programming skills by referring to already existing well written code. I would love to contribute but i would have to come up to speed for that and that might take some time . Thought this is nice way to introduce my self, its a honor to be in this list . Thank you -- Regards Agnello D'souza |
From: Pavlov D. <zel...@gm...> - 2011-09-30 20:20:43
|
Thank you, for applying patches. BTW, I found 2 lines that i forgot to remove from code in 0001-batch-support-for-password-change-at-next-login-for-.patch &webmin_debug_log('ldap-batch',"going to set shadow last change"); &webmin_debug_log('ldap-batch',"finished to set change"); they were used for some debug output and can be freely removed before commiting changes to repo, sorry for that code. В Пт., 30/09/2011 в 13:14 -0700, Jamie Cameron пишет: > On 30/Sep/2011 12:49 Dmitry Pavlov <zel...@gm...> wrote .. > > > Hello. > > I added a feature request for adding support for force password > > change at next login feature in ldap-useradmin with patches attached > > to the ticket: > > https://sourceforge.net/tracker/?func=detail&aid=3415467&group_id=17457&atid=367457 > > > > I'd like to know if inclusion of that feature is possible in webmin > > as it is now or maybe I need to correct patches somehow? > > > > -- > > Dmitry Pavlov > > > > Thanks for the notification - I didn't see that ticket. I have applied > your patches though, and will include them in the next release. > > BTW, an even better way to submit patches is via github. You can > create a branch of Webmin, then submit a change which I can integrate > into the main branch with a single click at github.com .. > > - Jamie > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > - Forwarded by the Webmin development list at web...@we... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- Pavlov Dmitry |