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: Jamie C. <jca...@we...> - 2004-02-22 09:05:36
|
Bizarre .. does the function get_pid_file exist in apache/apache-lib.pl on your system? Also, does this effect the 1.134 devel version? - Jamie On Sat, 2004-02-21 at 21:14, Martin Mewes wrote: > Hi Jamie, > > after upgrading to the latest devel I get these messages from the > Status-Monitor-Module > > apache::get_pid_file failed : Undefined subroutine > &apache::get_pid_file > called at (eval 7) line 2. > > hth --- > > Freundliche Grüsse > Kind regards > > Martin Mewes |
From: Martin M. <mm...@me...> - 2004-02-21 10:20:19
|
Hi Jamie, after upgrading to the latest devel I get these messages from the Status-Monitor-Module apache::get_pid_file failed : Undefined subroutine &apache::get_pid_file called at (eval 7) line 2. hth --- =46reundliche Gr=FCsse Kind regards Martin Mewes --=20 Official Webmin/Usermin Translation Co-Ordinator http://www.webmin.com/ http://webmin.mamemu.de/ (Mirror) |
From: Jamie C. <jca...@we...> - 2004-02-19 22:15:36
|
It looks like BIND is running under a chroot directory, perhaps /var/run/bind. Is that the case on your system? It is quite possible that a new version of the Debian BIND package has changed the default location of the PID file. However, Webmin should be able to find it automatically by looking at the pid-file directive in named.conf (assuming there is one). - Jamie On Thu, 2004-02-19 at 19:51, Martin Mewes wrote: > Howdy folks, > > I think I reported this some days ago but did not get a response, so > maybe you missed it. > > I have recently upgraded my Bind and now Webmin says it is not > running. Bind (Version 9.2.3-1.backports.org.1) is up and running, but > > a) Webmin checks for it every five minutes in the System and Server > Status-Module and reports an error. > b) In Virtualmin (latest version) reports Bind is down > d) The Bind-Module itself says it is not up and running > > If I do a ps > > ds217-115-144-166:/etc/mail# pp | grep named > 3907 ? S 0:00 /usr/sbin/named > 3908 ? S 0:04 \_ /usr/sbin/named > 3909 ? S 0:08 \_ /usr/sbin/named > 3910 ? S 0:01 \_ /usr/sbin/named > 3911 ? S 0:01 \_ /usr/sbin/named > > I can find it. > > The search for the PID-file says > > ds217-115-144-166:/etc/mail# locate named.pid > /var/run/bind/run/named.pid > > So I went back to the Bind-Modules-Configuration and explicity set the > location of the PID-File to that file and everything works ok. > > Maybe this is a weird configuration, because I use a backport of Bind. > Can someone confirm this issue. > > > bis dahin - kind regards > > Martin Mewes |
From: Martin M. <mm...@me...> - 2004-02-19 08:56:54
|
Howdy folks, I think I reported this some days ago but did not get a response, so maybe you missed it. I have recently upgraded my Bind and now Webmin says it is not running. Bind (Version 9.2.3-1.backports.org.1) is up and running, but a) Webmin checks for it every five minutes in the System and Server Status-Module and reports an error. b) In Virtualmin (latest version) reports Bind is down d) The Bind-Module itself says it is not up and running If I do a ps ds217-115-144-166:/etc/mail# pp | grep named 3907 ? S 0:00 /usr/sbin/named 3908 ? S 0:04 \_ /usr/sbin/named 3909 ? S 0:08 \_ /usr/sbin/named 3910 ? S 0:01 \_ /usr/sbin/named 3911 ? S 0:01 \_ /usr/sbin/named I can find it. The search for the PID-file says ds217-115-144-166:/etc/mail# locate named.pid /var/run/bind/run/named.pid So I went back to the Bind-Modules-Configuration and explicity set the location of the PID-File to that file and everything works ok. Maybe this is a weird configuration, because I use a backport of Bind. Can someone confirm this issue. bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 Proud Forte Agent 2.0 Beta Tester |
From: Gianluca B. <lea...@ka...> - 2004-02-15 10:22:17
|
Dear all, I have just put online a survey addressing the topic of "leadership in the open-source environment". Basically, my objective is to identify the personal conceptions of good leadership that reside in the minds of the contributors, in terms of leaders' _behaviors_ and _characteristics_. What is a good open-source project leader, from the contributor's point of view? To what extent, those personal believes are shared among developers? Can the contributor's national cultural belonging and level of experience in contributing to open-source projects explain such differences in their idea of what a good leader is? I would really appreciate your participation to the survey! Contribution (*completely* anonymous) consists in rating a list of statements that may be used to describe the behaviors of an open-source leader. It will take around ten minutes - there aren't any "time-consuming" open ended questions;) Following, the link to the survey: http://freeonlinesurveys.com/rendersurvey.asp?id=52191 If you are interested, I will not miss to email you a link to the final report, when ready ;) (approx, a couple of months from now) Thank you in advance, and don't hesitate to contact me if you have any questions or comments :) Gianluca Bosco g....@GE... Denmark Technical University Department of manufacturing engineering and management |
From: John H. <j....@pl...> - 2004-02-12 10:26:24
|
On Wed, 2004-02-11 at 22:15, Jamie Cameron wrote: > On Thu, 2004-02-12 at 02:25, John Horne wrote: > > Hello, > > > > As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a > > module to execute something on a remote server nothing gets logged by > > webmin on the remote server. Would it be possible to get the command > > logged? Access to the remote server is by fastrpc with a username/pwd > > supplied. I'm not totally sure how webmin communicates with the remote > > server so I'm not too sure what is/is not possible! :-) > > You would have to use code like : > > remote_foreign_call($server, $module, "system_logged", $your_command); > remote_foreign_call($server, $module, "webmin_log", "whatever"); > > Most modules do their logging on the 'master' side rather than the > 'slave' side .. however, this would still work fine. > Thanks, I'll try this. It's for the b9ddns third-party module. If people are going to do things on a slave DNS name server but from a master server (that is, the master name server as well as the webmin server that they are logged on) - such as creating/deleting zones, reload's etc - then I'd like it logged on the slave. I can see zones being created and deleted on the master server webmin log but nothing is said about whether the zone was created/deleted on the slave as well. In fact I think the master server should log that as well as the slave logging the fact that it is creating/deleting a zone. John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: Joh...@pl... Fax: +44 (0)1752 233839 |
From: Sean A. <se...@ne...> - 2004-02-12 08:21:21
|
Hi, I'm looking into managing CourierMAilAccount objects in an LDAP directory. This would allow creation, deletion and editing of virtual mail accounts. Sine I can't find any existing tool I figured writing a new webmin module would probably be my best bet, similar to the LDAP user account manager distributed as a standard module. I've registered my interest on the wish list at http://digisec.mine.nu/. Before I start, I thought I'd check if anybody has any advice. For example am I wasting my time, is there anything I ought to know from the outset, and is anybody else interested? Hope this is the right place for this - please let me know if I should also post to the webmin user mailing list. Cheers, Sean. -- Sean Atkinson <se...@ne...> Netproject |
From: Andrew K. <ak...@co...> - 2004-02-12 00:32:01
|
Thanks Jamie. The reason I was interested in usermin logging was that I was toying with the idea of using Usermin/Webmin as an application server. We have all the necessary components, Webmin, MySQL, etc. A thought. -Andrew Jamie Cameron wrote: >The main Usermin webserver process runs as root, and all CGI scripts are >run as root initially, but most drop their privileges down to the level >of the logged-in user before doing anything. So writing to global log >files after some action is performed is not possible .. although there >may be ways around this by pre-opening the log file before dropping root >privileges. > >In my opinion, logging in Usermin isn't as important as in Webmin, as >the amount of damage the user can be is less :-) > > - Jamie > >On Thu, 2004-02-12 at 10:40, Andrew Kornak wrote: > > >>Forgive for my ignorance, but, how would that effect Usermin activity? >>Usermin runs as root >>as does Webmin. Couldn't Usermin activity be logged in the same fashion? >>Why would a module's >>privileges matter if the master process has root privileges. Thanks. >> >>-Andrew >> >>Jamie Cameron wrote: >> >> >> >>>Currently, logging by Usermin is not supported .. and it would be tough >>>to implement a central log like Webmin has, as most Usermin modules run >>>with non-root privileges. >>> >>>- Jamie >>> >>>On Thu, 2004-02-12 at 09:44, Andrew Kornak wrote: >>> >>> >>> >>> >>>>This brought me to think about logging in "Usermin". Is there a way to >>>>to log Usermin activity like Webmin has? I was unable to find an option >>>>to do this. >>>> >>>>-Andrew >>>> >>>>Jamie Cameron wrote: >>>> >>>> >>>> >>>> >>>> >>>>>On Thu, 2004-02-12 at 02:25, John Horne wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Hello, >>>>>> >>>>>>As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a >>>>>>module to execute something on a remote server nothing gets logged by >>>>>>webmin on the remote server. Would it be possible to get the command >>>>>>logged? Access to the remote server is by fastrpc with a username/pwd >>>>>>supplied. I'm not totally sure how webmin communicates with the remote >>>>>>server so I'm not too sure what is/is not possible! :-) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>You would have to use code like : >>>>> >>>>>remote_foreign_call($server, $module, "system_logged", $your_command); >>>>>remote_foreign_call($server, $module, "webmin_log", "whatever"); >>>>> >>>>>Most modules do their logging on the 'master' side rather than the >>>>>'slave' side .. however, this would still work fine. >>>>> >>>>>- Jamie >>>>> >>>>> >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>>>>Build and deploy apps & Web services for Linux with >>>>>a free DVD software kit from IBM. Click Now! >>>>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>>>>- >>>>>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 >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------- >>>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>>>Build and deploy apps & Web services for Linux with >>>>a free DVD software kit from IBM. Click Now! >>>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>>>- >>>>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 >>>> >>>> >>>> >>>> >>> >>>------------------------------------------------------- >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>>Build and deploy apps & Web services for Linux with >>>a free DVD software kit from IBM. Click Now! >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>>- >>>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 >>> >>> >>> >>> >>> >>------------------------------------------------------- >>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>Build and deploy apps & Web services for Linux with >>a free DVD software kit from IBM. Click Now! >>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>- >>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 >> >> > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >- >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: Isaac F. <is...@co...> - 2004-02-12 00:00:11
|
Yeah, this can be dropped. It should be added as an attribute in the module config if it's needed. It's an optional attribute for the sambaAccount object class. Also, I found another bug here: in save_user.cgi line 157: $pass = "{crypt}".$pass if ($pass !~ /^\{crypt\}/); should be: $pass = "{crypt}".$pass if ($pass !~ /^\{crypt\}/i); and line 770: $user{'pass'} =~ s/^{crypt}//; should be: $user{'pass'} =~ s/^{crypt}//i; Otherwise, if the ldap server or some other process updates the userPassword attribute and makes it {Crypt}<cryptedpass> then save_user.cgi will make it {crypt}{Crypt}<cryptedpass> which breaks any authentication attempt. Just needs to be case-insensitive. -Isaac On Feb 11, 2004, at 3:43 PM, web...@li... wrote: > Message: 2 > Subject: Re: [webmin-devel] Bug adding Samba user with LDAP users & > groups > From: Jamie Cameron <jca...@we...> > To: web...@li... > Organization: > Date: 01 Feb 2004 22:58:19 +1100 > Reply-To: web...@li... > > Thanks for the information - unless someone on the list suggests > otherwise, I will drop that attribute in the next release. It was added > by a user-contributed patch, so I am not too sure myself how necessary > it really is .. > > - Jamie > > On Sun, 2004-02-01 at 12:48, Wil Cooley wrote: >> I noticed a bug in the Samba attributes in the LDAP Users & Groups >> module. The module adds sambaPrimaryGroupSID and presumes that the >> RID >> can be algorithmically generated. There are several "well known" >> groups >> and corresponding RIDs, such as the "Domain Users" group with RID of >> 513. It would be better to ascertain the group SID with an LDAP query >> if the group already exists; however, considering that the smbldap >> tools >> do not populate this attribute and none of the docs mention that it is >> required, it would probably be best to simply not add the attribute. >> >> Wil > > > |
From: Jamie C. <jca...@we...> - 2004-02-11 23:57:10
|
The main Usermin webserver process runs as root, and all CGI scripts are run as root initially, but most drop their privileges down to the level of the logged-in user before doing anything. So writing to global log files after some action is performed is not possible .. although there may be ways around this by pre-opening the log file before dropping root privileges. In my opinion, logging in Usermin isn't as important as in Webmin, as the amount of damage the user can be is less :-) - Jamie On Thu, 2004-02-12 at 10:40, Andrew Kornak wrote: > Forgive for my ignorance, but, how would that effect Usermin activity? > Usermin runs as root > as does Webmin. Couldn't Usermin activity be logged in the same fashion? > Why would a module's > privileges matter if the master process has root privileges. Thanks. > > -Andrew > > Jamie Cameron wrote: > > >Currently, logging by Usermin is not supported .. and it would be tough > >to implement a central log like Webmin has, as most Usermin modules run > >with non-root privileges. > > > > - Jamie > > > >On Thu, 2004-02-12 at 09:44, Andrew Kornak wrote: > > > > > >>This brought me to think about logging in "Usermin". Is there a way to > >>to log Usermin activity like Webmin has? I was unable to find an option > >>to do this. > >> > >>-Andrew > >> > >>Jamie Cameron wrote: > >> > >> > >> > >>>On Thu, 2004-02-12 at 02:25, John Horne wrote: > >>> > >>> > >>> > >>> > >>>>Hello, > >>>> > >>>>As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a > >>>>module to execute something on a remote server nothing gets logged by > >>>>webmin on the remote server. Would it be possible to get the command > >>>>logged? Access to the remote server is by fastrpc with a username/pwd > >>>>supplied. I'm not totally sure how webmin communicates with the remote > >>>>server so I'm not too sure what is/is not possible! :-) > >>>> > >>>> > >>>> > >>>> > >>>You would have to use code like : > >>> > >>>remote_foreign_call($server, $module, "system_logged", $your_command); > >>>remote_foreign_call($server, $module, "webmin_log", "whatever"); > >>> > >>>Most modules do their logging on the 'master' side rather than the > >>>'slave' side .. however, this would still work fine. > >>> > >>>- Jamie > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. > >>>Build and deploy apps & Web services for Linux with > >>>a free DVD software kit from IBM. Click Now! > >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > >>>- > >>>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 > >>> > >>> > >>> > >>> > >>> > >>------------------------------------------------------- > >>SF.Net is sponsored by: Speed Start Your Linux Apps Now. > >>Build and deploy apps & Web services for Linux with > >>a free DVD software kit from IBM. Click Now! > >>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > >>- > >>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 > >> > >> > > > > > > > >------------------------------------------------------- > >SF.Net is sponsored by: Speed Start Your Linux Apps Now. > >Build and deploy apps & Web services for Linux with > >a free DVD software kit from IBM. Click Now! > >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > >- > >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 > > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > - > 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: Andrew K. <ak...@co...> - 2004-02-11 23:42:44
|
Forgive for my ignorance, but, how would that effect Usermin activity? Usermin runs as root as does Webmin. Couldn't Usermin activity be logged in the same fashion? Why would a module's privileges matter if the master process has root privileges. Thanks. -Andrew Jamie Cameron wrote: >Currently, logging by Usermin is not supported .. and it would be tough >to implement a central log like Webmin has, as most Usermin modules run >with non-root privileges. > > - Jamie > >On Thu, 2004-02-12 at 09:44, Andrew Kornak wrote: > > >>This brought me to think about logging in "Usermin". Is there a way to >>to log Usermin activity like Webmin has? I was unable to find an option >>to do this. >> >>-Andrew >> >>Jamie Cameron wrote: >> >> >> >>>On Thu, 2004-02-12 at 02:25, John Horne wrote: >>> >>> >>> >>> >>>>Hello, >>>> >>>>As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a >>>>module to execute something on a remote server nothing gets logged by >>>>webmin on the remote server. Would it be possible to get the command >>>>logged? Access to the remote server is by fastrpc with a username/pwd >>>>supplied. I'm not totally sure how webmin communicates with the remote >>>>server so I'm not too sure what is/is not possible! :-) >>>> >>>> >>>> >>>> >>>You would have to use code like : >>> >>>remote_foreign_call($server, $module, "system_logged", $your_command); >>>remote_foreign_call($server, $module, "webmin_log", "whatever"); >>> >>>Most modules do their logging on the 'master' side rather than the >>>'slave' side .. however, this would still work fine. >>> >>>- Jamie >>> >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>>Build and deploy apps & Web services for Linux with >>>a free DVD software kit from IBM. Click Now! >>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>>- >>>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 >>> >>> >>> >>> >>> >>------------------------------------------------------- >>SF.Net is sponsored by: Speed Start Your Linux Apps Now. >>Build and deploy apps & Web services for Linux with >>a free DVD software kit from IBM. Click Now! >>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >>- >>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 >> >> > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >- >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...> - 2004-02-11 22:57:04
|
Currently, logging by Usermin is not supported .. and it would be tough to implement a central log like Webmin has, as most Usermin modules run with non-root privileges. - Jamie On Thu, 2004-02-12 at 09:44, Andrew Kornak wrote: > This brought me to think about logging in "Usermin". Is there a way to > to log Usermin activity like Webmin has? I was unable to find an option > to do this. > > -Andrew > > Jamie Cameron wrote: > > >On Thu, 2004-02-12 at 02:25, John Horne wrote: > > > > > >>Hello, > >> > >>As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a > >>module to execute something on a remote server nothing gets logged by > >>webmin on the remote server. Would it be possible to get the command > >>logged? Access to the remote server is by fastrpc with a username/pwd > >>supplied. I'm not totally sure how webmin communicates with the remote > >>server so I'm not too sure what is/is not possible! :-) > >> > >> > > > >You would have to use code like : > > > >remote_foreign_call($server, $module, "system_logged", $your_command); > >remote_foreign_call($server, $module, "webmin_log", "whatever"); > > > >Most modules do their logging on the 'master' side rather than the > >'slave' side .. however, this would still work fine. > > > > - Jamie > > > > > > > > > >------------------------------------------------------- > >SF.Net is sponsored by: Speed Start Your Linux Apps Now. > >Build and deploy apps & Web services for Linux with > >a free DVD software kit from IBM. Click Now! > >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > >- > >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 > > > > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > - > 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: Andrew K. <ak...@co...> - 2004-02-11 22:46:47
|
This brought me to think about logging in "Usermin". Is there a way to to log Usermin activity like Webmin has? I was unable to find an option to do this. -Andrew Jamie Cameron wrote: >On Thu, 2004-02-12 at 02:25, John Horne wrote: > > >>Hello, >> >>As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a >>module to execute something on a remote server nothing gets logged by >>webmin on the remote server. Would it be possible to get the command >>logged? Access to the remote server is by fastrpc with a username/pwd >>supplied. I'm not totally sure how webmin communicates with the remote >>server so I'm not too sure what is/is not possible! :-) >> >> > >You would have to use code like : > >remote_foreign_call($server, $module, "system_logged", $your_command); >remote_foreign_call($server, $module, "webmin_log", "whatever"); > >Most modules do their logging on the 'master' side rather than the >'slave' side .. however, this would still work fine. > > - Jamie > > > > >------------------------------------------------------- >SF.Net is sponsored by: Speed Start Your Linux Apps Now. >Build and deploy apps & Web services for Linux with >a free DVD software kit from IBM. Click Now! >http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click >- >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...> - 2004-02-11 22:16:43
|
On Thu, 2004-02-12 at 02:25, John Horne wrote: > Hello, > > As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a > module to execute something on a remote server nothing gets logged by > webmin on the remote server. Would it be possible to get the command > logged? Access to the remote server is by fastrpc with a username/pwd > supplied. I'm not totally sure how webmin communicates with the remote > server so I'm not too sure what is/is not possible! :-) You would have to use code like : remote_foreign_call($server, $module, "system_logged", $your_command); remote_foreign_call($server, $module, "webmin_log", "whatever"); Most modules do their logging on the 'master' side rather than the 'slave' side .. however, this would still work fine. - Jamie |
From: John H. <j....@pl...> - 2004-02-11 15:25:56
|
Hello, As far as I can tell, using webmin 1.130, if I use 'remote_eval' in a module to execute something on a remote server nothing gets logged by webmin on the remote server. Would it be possible to get the command logged? Access to the remote server is by fastrpc with a username/pwd supplied. I'm not totally sure how webmin communicates with the remote server so I'm not too sure what is/is not possible! :-) Thanks, John. -- --------------------------------------------------------------- John Horne, University of Plymouth, UK Tel: +44 (0)1752 233914 E-mail: Joh...@pl... Fax: +44 (0)1752 233839 |
From: Martin M. <mm...@me...> - 2004-02-02 07:33:26
|
Hi all, I haven't been online over the weekend that much and just find out, that on my Debian 3r2-Box my cronjobs have gone wild. I wanted to change the frequency for my FAQ from weekly into monthly and checked the requested boxes in Webmin's CRON-Module. As you can see, from the 1st it came in daily, which was not my intention. I have manually set CRON to 0 0 1 * * /bin/sh /home/macmewes/cron/webtrans.sh which should be monthly as well as @monthly /bin/sh /home/macmewes/cron/webtrans.sh crontab is version 3.0pl1-72 bis dahin - kind regards Martin Mewes --=20 http://webmin.mamemu.de/ Official Webmin/Usermin Translation Co-Ordinator 2003/2004 Proud Forte Agent 2.0 Beta Tester |
From: Martin M. <mm...@me...> - 2004-02-01 23:00:39
|
###################################################################### Webmin/Usermin - Translation - Weekly HOWTO Original: http://webmin.mamemu.de/modules.html#newlang Martin Mewes - Webmin/Usermin Translation Co-Ordinator (WTCO) Last changed: 29.01.2004 ###################################################################### History: -------- 26.01.2003 Webmin-Version 1.130 released as stable Usermin-Version 1.060 released as stable 08.01.2004 Virtualmin-Version 1.71 released as stable Administrative: --------------- 29.01.2004 FAQ-Post changed to monthly from 01.02.2004 New versions will be announced when they are released. 23.01.2004 http://www.mewes.tv/ The Source for Webmin-Translations and other fine OpenSource-Stuff My page is up again (partially), so what`s new: I have added two pages with sources to download. One is for translations for Webmin and the other for Usermin. For now its only for english into german, but with the next stable version of Webmin I will put up every incoming translation to my page so that translators can take these stuff in order to enhance the translations. 28.11.2003 I have rechecked this FAQ again and erased some of the nicest misspellings I ever saw. Those who find other things like this: From now I release misspellings in this document under GPL, which can be obtained here. German: http://www.gnu-gpl.de/gpl-deutsch.htm English: http://www.gnu-gpl.de/gpl-english.htm FAQ-EN: http://www.gnu-gpl.de/faq-en.htm ###################################################################### TOC: 1. Latest Stuff for downloading 2. Adding New Languages to Webmin 3. Is there a way to use localization when developing a new theme? 4. Use a nice script for developing languages. 5. Samples 6. Special Hint ###################################################################### 1. Latest Stuff for downloading Current Stable Release for Webmin is 1.130 http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.130.tar.gz http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130-minimal.tar.gz Current Development Release for Webmin is 1.130 http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.src.rpm http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130.tar.gz Current Stable Release for Usermin is 1.060 http://prdownloads.sourceforge.net/webadmin/usermin-1.060.tar.gz http://prdownloads.sourceforge.net/webadmin/usermin-1.060-1.noarch.rpm Current Development Release for Usermin is 1.060 http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.noarch.rpm http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.src.rpm http://webmin.mamemu.de/devel/tarballs/usermin-1.060.tar.gz Current Stable Release for VirtualMin is 1.71 http://webmin.mamemu.de/download/virtualmin/virtual-server-1.71.wbm.gz ###################################################################### 2. Adding New Languages to Webmin New translations of the existing core Webmin modules are always welcome. If you want to translate Webmin into a new language or update one of the existing translations, follow these steps : Get the latest development version of Webmin so that you can see the latest translations that have been done by other people. In the file lang_list.txt in the Webmin root directory, add a new line for your language like : lang=sw,titles=1,charset=iso-6666-6 Swahili The "lang" part defines the short code for the language, and should follow the ISO standard where possible. The "titles" part controls whether Webmin should use letter images for displaying page titles in the language, and should be set to 1 if your language uses european characters. The optional "charset" part sets the character set that is sent to the web browser when using the language, so that is can automatically select the right font to use. Switch to your new language in the Webmin Configuration module under the Language icon. In the directory lang under the Webmin root and in each of the lang subdirectories under the module directories, create a new file called sw (or whatever the short code for your language is) that is a translation of the en file in the same directory. In each of the module.info files under the module directories, add a new desc_sw= line that is a translation of the desc= line. In each of the module directories, create a new file called config.info.sw which is a translation of config.info (if it exists). In the help subdirectory under each of the module directories (where they exist), translate all of the something.html files into something.sw.html. A table of currently translated languages is available so that you can see how much has been done for each language and module so far. There is also a list of other translators that you might want to contact before doing your own translation work. You don't have to finish translating the entire of Webmin for your translation to be useful. Many people just do a few modules at a time, or skip the help pages initially. When your translation has made some progress, send a .tar.gz file of all the translated files to Martin Mewes at we...@we... so that he can include it in the main Webmin distribution. The best way to tar up everything is with the command : tar czf /tmp/translation.tar.gz */lang/sw lang/sw */module.info */config.info.sw */help/*.sw.html ###################################################################### 3. Is there a way to use localization when developing a new theme? Yes (by Jamie Cameron) There is a way to do this - create a lang/ subdirectory under your theme with the usual en, de and other files. Then in your theme CGIs or .pl, use code like : %mytext = &load_language("my-theme-directory"); print "<b>$mytext{'something'}</b> <p>\n"; ###################################################################### 4. Use a nice script for developing languages. Christophe Chisogne developed a script which is available in a special Download-Area at www.webmin.com. http://www.webmin.com/wtco/char2ent.pl There will be more stuff to download there soon. As example: dodiff.sh An easy interface to diff between en-files and your language file. dolinks.sh As there are many symlinks between Webmin and Usermin on Jamies Computer I wrote this little script which does a symlink-detection for you. So it could be that if you develop for a Usermin- Module you enhance a Webmin-Module as well :-) This is the output from the help: perl char2ent.pl Usage: char2ent [--mode=html|work] [-b] [-c] 8bitfile.txt ... char2ent [--help] [--version] --mode=x, -m=x choose html mode (default) or work mode --backup, -b backup of modified file --confirm, -c confirm conversion of each file If you still need other Entities ... German http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html Unicode http://www.theorem.ca/~mvcorks/code/charsets/auto.html ###################################################################### 5. Samples: Editing usermin/at/lang/de is as easy as this :-) perl char2ent.pl --mode=work usermin/at/lang/de Conversion from &#ddd; entities to 8bit chars Converting file [usermin/at/lang/de]... And this now is the file ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Now you can edit this file normally and if you are finished: perl char2ent.pl --mode=html usermin/at/lang/de Conversion from 8bit chars to &#ddd; entities Converting file [usermin/at/lang/de]... And this is the file: ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Restrictions: You cannot use this procedure completely on ... config.info.* (WebMin) uconfig.info.* (UserMin) module.info (WebMin) .. because setting commas (,) or delimiters like a dash (-) are trailing symbols for webmin's perl scripts. You MUST write those symbols with pure HTML-Entities! ###################################################################### 6. Special hint /usr/libexec/webmin/lang/en <original> feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language. </original> You should add the following (after translating it into your language). <br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. Complete line: feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language.<br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. And please do not forget to set proper HTML-Entities! If you want to take care of the translations yourself you may strip off we...@we... and replace it with your own eMail-Adress. Note for the German folks: I kindly take this part for DE-Translations exclusively ;-) kind regards Martin Mewes |
From: Jamie C. <jca...@we...> - 2004-02-01 12:25:30
|
Thanks for the information - unless someone on the list suggests otherwise, I will drop that attribute in the next release. It was added by a user-contributed patch, so I am not too sure myself how necessary it really is .. - Jamie On Sun, 2004-02-01 at 12:48, Wil Cooley wrote: > I noticed a bug in the Samba attributes in the LDAP Users & Groups > module. The module adds sambaPrimaryGroupSID and presumes that the RID > can be algorithmically generated. There are several "well known" groups > and corresponding RIDs, such as the "Domain Users" group with RID of > 513. It would be better to ascertain the group SID with an LDAP query > if the group already exists; however, considering that the smbldap tools > do not populate this attribute and none of the docs mention that it is > required, it would probably be best to simply not add the attribute. > > Wil |
From: Wil C. <wc...@na...> - 2004-02-01 01:48:59
|
I noticed a bug in the Samba attributes in the LDAP Users & Groups module. The module adds sambaPrimaryGroupSID and presumes that the RID can be algorithmically generated. There are several "well known" groups and corresponding RIDs, such as the "Domain Users" group with RID of 513. It would be better to ascertain the group SID with an LDAP query if the group already exists; however, considering that the smbldap tools do not populate this attribute and none of the docs mention that it is required, it would probably be best to simply not add the attribute. Wil --=20 Wil Cooley wc...@na... Naked Ape Consulting http://nakedape.cc * * * * Linux, UNIX, Networking and Security Solutions * * * * * Naked Ape Consulting http://nakedape.cc * * Secure E-mail Server * * Naked Ape Mail Defender http://nakedape.cc/r/md * |
From: Martin M. <mm...@me...> - 2004-01-31 23:00:48
|
###################################################################### Webmin/Usermin - Translation - Weekly HOWTO Original: http://webmin.mamemu.de/modules.html#newlang Martin Mewes - Webmin/Usermin Translation Co-Ordinator (WTCO) Last changed: 29.01.2004 ###################################################################### History: -------- 26.01.2003 Webmin-Version 1.130 released as stable Usermin-Version 1.060 released as stable 08.01.2004 Virtualmin-Version 1.71 released as stable Administrative: --------------- 29.01.2004 FAQ-Post changed to monthly from 01.02.2004 New versions will be announced when they are released. 23.01.2004 http://www.mewes.tv/ The Source for Webmin-Translations and other fine OpenSource-Stuff My page is up again (partially), so what`s new: I have added two pages with sources to download. One is for translations for Webmin and the other for Usermin. For now its only for english into german, but with the next stable version of Webmin I will put up every incoming translation to my page so that translators can take these stuff in order to enhance the translations. 28.11.2003 I have rechecked this FAQ again and erased some of the nicest misspellings I ever saw. Those who find other things like this: From now I release misspellings in this document under GPL, which can be obtained here. German: http://www.gnu-gpl.de/gpl-deutsch.htm English: http://www.gnu-gpl.de/gpl-english.htm FAQ-EN: http://www.gnu-gpl.de/faq-en.htm ###################################################################### TOC: 1. Latest Stuff for downloading 2. Adding New Languages to Webmin 3. Is there a way to use localization when developing a new theme? 4. Use a nice script for developing languages. 5. Samples 6. Special Hint ###################################################################### 1. Latest Stuff for downloading Current Stable Release for Webmin is 1.130 http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.130.tar.gz http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130-minimal.tar.gz Current Development Release for Webmin is 1.130 http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.src.rpm http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130.tar.gz Current Stable Release for Usermin is 1.060 http://prdownloads.sourceforge.net/webadmin/usermin-1.060.tar.gz http://prdownloads.sourceforge.net/webadmin/usermin-1.060-1.noarch.rpm Current Development Release for Usermin is 1.060 http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.noarch.rpm http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.src.rpm http://webmin.mamemu.de/devel/tarballs/usermin-1.060.tar.gz Current Stable Release for VirtualMin is 1.71 http://webmin.mamemu.de/download/virtualmin/virtual-server-1.71.wbm.gz ###################################################################### 2. Adding New Languages to Webmin New translations of the existing core Webmin modules are always welcome. If you want to translate Webmin into a new language or update one of the existing translations, follow these steps : Get the latest development version of Webmin so that you can see the latest translations that have been done by other people. In the file lang_list.txt in the Webmin root directory, add a new line for your language like : lang=sw,titles=1,charset=iso-6666-6 Swahili The "lang" part defines the short code for the language, and should follow the ISO standard where possible. The "titles" part controls whether Webmin should use letter images for displaying page titles in the language, and should be set to 1 if your language uses european characters. The optional "charset" part sets the character set that is sent to the web browser when using the language, so that is can automatically select the right font to use. Switch to your new language in the Webmin Configuration module under the Language icon. In the directory lang under the Webmin root and in each of the lang subdirectories under the module directories, create a new file called sw (or whatever the short code for your language is) that is a translation of the en file in the same directory. In each of the module.info files under the module directories, add a new desc_sw= line that is a translation of the desc= line. In each of the module directories, create a new file called config.info.sw which is a translation of config.info (if it exists). In the help subdirectory under each of the module directories (where they exist), translate all of the something.html files into something.sw.html. A table of currently translated languages is available so that you can see how much has been done for each language and module so far. There is also a list of other translators that you might want to contact before doing your own translation work. You don't have to finish translating the entire of Webmin for your translation to be useful. Many people just do a few modules at a time, or skip the help pages initially. When your translation has made some progress, send a .tar.gz file of all the translated files to Martin Mewes at we...@we... so that he can include it in the main Webmin distribution. The best way to tar up everything is with the command : tar czf /tmp/translation.tar.gz */lang/sw lang/sw */module.info */config.info.sw */help/*.sw.html ###################################################################### 3. Is there a way to use localization when developing a new theme? Yes (by Jamie Cameron) There is a way to do this - create a lang/ subdirectory under your theme with the usual en, de and other files. Then in your theme CGIs or .pl, use code like : %mytext = &load_language("my-theme-directory"); print "<b>$mytext{'something'}</b> <p>\n"; ###################################################################### 4. Use a nice script for developing languages. Christophe Chisogne developed a script which is available in a special Download-Area at www.webmin.com. http://www.webmin.com/wtco/char2ent.pl There will be more stuff to download there soon. As example: dodiff.sh An easy interface to diff between en-files and your language file. dolinks.sh As there are many symlinks between Webmin and Usermin on Jamies Computer I wrote this little script which does a symlink-detection for you. So it could be that if you develop for a Usermin- Module you enhance a Webmin-Module as well :-) This is the output from the help: perl char2ent.pl Usage: char2ent [--mode=html|work] [-b] [-c] 8bitfile.txt ... char2ent [--help] [--version] --mode=x, -m=x choose html mode (default) or work mode --backup, -b backup of modified file --confirm, -c confirm conversion of each file If you still need other Entities ... German http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html Unicode http://www.theorem.ca/~mvcorks/code/charsets/auto.html ###################################################################### 5. Samples: Editing usermin/at/lang/de is as easy as this :-) perl char2ent.pl --mode=work usermin/at/lang/de Conversion from &#ddd; entities to 8bit chars Converting file [usermin/at/lang/de]... And this now is the file ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Now you can edit this file normally and if you are finished: perl char2ent.pl --mode=html usermin/at/lang/de Conversion from 8bit chars to &#ddd; entities Converting file [usermin/at/lang/de]... And this is the file: ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Restrictions: You cannot use this procedure completely on ... config.info.* (WebMin) uconfig.info.* (UserMin) module.info (WebMin) .. because setting commas (,) or delimiters like a dash (-) are trailing symbols for webmin's perl scripts. You MUST write those symbols with pure HTML-Entities! ###################################################################### 6. Special hint /usr/libexec/webmin/lang/en <original> feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language. </original> You should add the following (after translating it into your language). <br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. Complete line: feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language.<br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. And please do not forget to set proper HTML-Entities! If you want to take care of the translations yourself you may strip off we...@we... and replace it with your own eMail-Adress. Note for the German folks: I kindly take this part for DE-Translations exclusively ;-) kind regards Martin Mewes |
From: Jamie C. <jca...@we...> - 2004-01-31 22:28:31
|
Thanks for the patch - I will incorporate a similar fix into the next Webmin release. - Jamie On Sun, 2004-02-01 at 04:32, Eldy wrote: > This mail is to report a bug in the new logrotate tool and provide the > patch. > When there is several log in the first line of a logrotate file (and > this is possible according to logrotate doc), Webmin ignores the whole file. > > This is the patch to solve this. > > --- logrotate-lib.pl.old Sat Jan 31 18:24:12 2004 > +++ logrotate-lib.pl Sat Jan 31 18:22:47 2004 > @@ -38,16 +38,20 @@ > while(<$fh>) { > s/\r|\n//g; > s/#.*$//; > - if (/^\s*(\S+)\s*{\s*$/) { > - # Start of a section > - $section = { 'name' => $1, > + if (/^\s*(.*)\s*{\s*$/) { > + foreach my $logfile (split(/\s+/,$1)) { > + if ($logfile) { > + # Start of a section > + $section = { 'name' => $logfile, > 'members' => [ ], > 'index' => scalar(@$addto), > 'line' => $lnum, > 'eline' => $lnum, > 'file' => $file }; > - push(@$addto, $section); > - $addto = $section->{'members'}; > + push(@$addto, $section); > + $addto = $section->{'members'}; > + } > + } > } > elsif (/^\s*}\s*$/) { > # End of a section > > |
From: Martin M. <mm...@me...> - 2004-01-31 19:18:49
|
###################################################################### Webmin/Usermin - Translation - Weekly HOWTO Original: http://webmin.mamemu.de/modules.html#newlang Martin Mewes - Webmin/Usermin Translation Co-Ordinator (WTCO) Last changed: 29.01.2004 ###################################################################### History: -------- 26.01.2003 Webmin-Version 1.130 released as stable Usermin-Version 1.060 released as stable 08.01.2004 Virtualmin-Version 1.71 released as stable Administrative: --------------- 29.01.2004 FAQ-Post changed to monthly from 01.02.2004 New versions will be announced when they are released. 23.01.2004 http://www.mewes.tv/ The Source for Webmin-Translations and other fine OpenSource-Stuff My page is up again (partially), so what`s new: I have added two pages with sources to download. One is for translations for Webmin and the other for Usermin. For now its only for english into german, but with the next stable version of Webmin I will put up every incoming translation to my page so that translators can take these stuff in order to enhance the translations. 28.11.2003 I have rechecked this FAQ again and erased some of the nicest misspellings I ever saw. Those who find other things like this: From now I release misspellings in this document under GPL, which can be obtained here. German: http://www.gnu-gpl.de/gpl-deutsch.htm English: http://www.gnu-gpl.de/gpl-english.htm FAQ-EN: http://www.gnu-gpl.de/faq-en.htm ###################################################################### TOC: 1. Latest Stuff for downloading 2. Adding New Languages to Webmin 3. Is there a way to use localization when developing a new theme? 4. Use a nice script for developing languages. 5. Samples 6. Special Hint ###################################################################### 1. Latest Stuff for downloading Current Stable Release for Webmin is 1.130 http://prdownloads.sourceforge.net/sourceforge/webadmin/webmin-1.130.tar.gz http://prdownloads.sourceforge.net/webadmin/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130-minimal.tar.gz Current Development Release for Webmin is 1.130 http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.src.rpm http://webmin.mamemu.de/devel/rpm/webmin-1.130-1.noarch.rpm http://webmin.mamemu.de/devel/tarballs/webmin-1.130.tar.gz Current Stable Release for Usermin is 1.060 http://prdownloads.sourceforge.net/webadmin/usermin-1.060.tar.gz http://prdownloads.sourceforge.net/webadmin/usermin-1.060-1.noarch.rpm Current Development Release for Usermin is 1.060 http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.noarch.rpm http://webmin.mamemu.de/devel/rpm/usermin-1.060-1.src.rpm http://webmin.mamemu.de/devel/tarballs/usermin-1.060.tar.gz Current Stable Release for VirtualMin is 1.71 http://webmin.mamemu.de/download/virtualmin/virtual-server-1.71.wbm.gz ###################################################################### 2. Adding New Languages to Webmin New translations of the existing core Webmin modules are always welcome. If you want to translate Webmin into a new language or update one of the existing translations, follow these steps : Get the latest development version of Webmin so that you can see the latest translations that have been done by other people. In the file lang_list.txt in the Webmin root directory, add a new line for your language like : lang=sw,titles=1,charset=iso-6666-6 Swahili The "lang" part defines the short code for the language, and should follow the ISO standard where possible. The "titles" part controls whether Webmin should use letter images for displaying page titles in the language, and should be set to 1 if your language uses european characters. The optional "charset" part sets the character set that is sent to the web browser when using the language, so that is can automatically select the right font to use. Switch to your new language in the Webmin Configuration module under the Language icon. In the directory lang under the Webmin root and in each of the lang subdirectories under the module directories, create a new file called sw (or whatever the short code for your language is) that is a translation of the en file in the same directory. In each of the module.info files under the module directories, add a new desc_sw= line that is a translation of the desc= line. In each of the module directories, create a new file called config.info.sw which is a translation of config.info (if it exists). In the help subdirectory under each of the module directories (where they exist), translate all of the something.html files into something.sw.html. A table of currently translated languages is available so that you can see how much has been done for each language and module so far. There is also a list of other translators that you might want to contact before doing your own translation work. You don't have to finish translating the entire of Webmin for your translation to be useful. Many people just do a few modules at a time, or skip the help pages initially. When your translation has made some progress, send a .tar.gz file of all the translated files to Martin Mewes at we...@we... so that he can include it in the main Webmin distribution. The best way to tar up everything is with the command : tar czf /tmp/translation.tar.gz */lang/sw lang/sw */module.info */config.info.sw */help/*.sw.html ###################################################################### 3. Is there a way to use localization when developing a new theme? Yes (by Jamie Cameron) There is a way to do this - create a lang/ subdirectory under your theme with the usual en, de and other files. Then in your theme CGIs or .pl, use code like : %mytext = &load_language("my-theme-directory"); print "<b>$mytext{'something'}</b> <p>\n"; ###################################################################### 4. Use a nice script for developing languages. Christophe Chisogne developed a script which is available in a special Download-Area at www.webmin.com. http://www.webmin.com/wtco/char2ent.pl There will be more stuff to download there soon. As example: dodiff.sh An easy interface to diff between en-files and your language file. dolinks.sh As there are many symlinks between Webmin and Usermin on Jamies Computer I wrote this little script which does a symlink-detection for you. So it could be that if you develop for a Usermin- Module you enhance a Webmin-Module as well :-) This is the output from the help: perl char2ent.pl Usage: char2ent [--mode=html|work] [-b] [-c] 8bitfile.txt ... char2ent [--help] [--version] --mode=x, -m=x choose html mode (default) or work mode --backup, -b backup of modified file --confirm, -c confirm conversion of each file If you still need other Entities ... German http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html Unicode http://www.theorem.ca/~mvcorks/code/charsets/auto.html ###################################################################### 5. Samples: Editing usermin/at/lang/de is as easy as this :-) perl char2ent.pl --mode=work usermin/at/lang/de Conversion from &#ddd; entities to 8bit chars Converting file [usermin/at/lang/de]... And this now is the file ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Now you can edit this file normally and if you are finished: perl char2ent.pl --mode=html usermin/at/lang/de Conversion from 8bit chars to &#ddd; entities Converting file [usermin/at/lang/de]... And this is the file: ---------------------------------------------------------------------- index_user=Ausführen als Benutzer index_date=Ausführen am index_time=Ausführen um index_cmd=Auszuführende Befehle index_id=Auftrags-ID index_exec=Ausführen auf index_created=Erzeugt am index_dir=Ausführen im Verzeichnis index_return=Befehls-Liste index_cdate=Aktuelles Datum index_ctime=Aktuelle Zeit edit_cmd=Vollständiges Skript zum Ausführen edit_header=Einzelheiten des geplanten Befehls edit_delete=Diesen Befehl löschen edit_ejob=Geplanter Befehl existiert nicht mehr! create_euser=Fehlender oder ungültiger Benutzername create_ecmd=Keine Anweisungen angegeben create_edir=Fehlendes oder ungültiges Verzeichnis delete_egone=Befehl bereits ausgeführt oder gelöscht acl_users=Darf geplante Befehle bearbeiten für acl_only=Nur diese Benutzer acl_except=Alle Benutzer außer index_title=Geplante AT-Befehle index_header=Neuer geplanter AT-Befehl edit_title=Geplanter AT-Befehl edit_ecannot=Sie sind nicht berechtigt, diesen geplanten Befehl zu bearbeiten. create_err=Konnte AT-Befehl nicht einrichten create_edate=Fehlende oder ungültige Datums- oder Zeitangabe create_efuture=Datum und/oder Zeit liegt in der Vergangenheit create_ecannot=Sie sind nicht berechtigt, geplante AT-Befehle für diesen Benutzer anzulegen delete_err=Konnte AT-Befehl nicht abbrechen acl_all=Alle Benutzer acl_this=Aktuellen Webmin-Benutzer ---------------------------------------------------------------------- Restrictions: You cannot use this procedure completely on ... config.info.* (WebMin) uconfig.info.* (UserMin) module.info (WebMin) .. because setting commas (,) or delimiters like a dash (-) are trailing symbols for webmin's perl scripts. You MUST write those symbols with pure HTML-Entities! ###################################################################### 6. Special hint /usr/libexec/webmin/lang/en <original> feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language. </original> You should add the following (after translating it into your language). <br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. Complete line: feedback_desc2=This feedback will be sent to the developer of Webmin, not your system administrator, ISP or hosting company. Please write your feedback in english, even if you are currently running Webmin in another language.<br>If you have a question or a request on the <u>Arabic Transalation</u>, please send a feedback <u>only</u> to <u>we...@we...</u>. And please do not forget to set proper HTML-Entities! If you want to take care of the translations yourself you may strip off we...@we... and replace it with your own eMail-Adress. Note for the German folks: I kindly take this part for DE-Translations exclusively ;-) kind regards Martin Mewes |