From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 7 Mar 2003 05:00:10 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 65 ************************************************** Thursday 06 March 2003 Number 65 ************************************************** Subjects for today 1 Re: SpamAssassin : Lewis G Rosenthal 2 Re: NFS : email at eracc.hypermart.net (ERACC Lists) 3 Re: NFS : Neil Waldhauer" 4 Re: exec family : John Poltorak 5 Re: SpamAssassin : Adrian Gschwend" 6 Re: exec family : Dave Saville" 7 Re: SpamAssassin : John Poltorak 8 NFS : John Poltorak 9 Re: NFS : Stefan Neis 10 Re: perl question : Henry Sobotka 11 Re: NFS : Christian Hennecke" 12 perl question : Dave Saville" 13 Re: FHS compilant OpenSSH package available : John Poltorak 14 FHS compilant OpenSSH package available : Adrian Gschwend" 15 Re: FHS compilant OpenSSH package available : Adrian Gschwend" **= Email 1 ==========================** Date: Fri, 07 Mar 2003 07:54:01 -0500 From: Lewis G Rosenthal Subject: Re: SpamAssassin Thanks Adrian & John! John Poltorak wrote: >On Fri, Mar 07, 2003 at 10:58:26AM +0100, Adrian Gschwend wrote: > > >>On Thu, 06 Mar 2003 19:27:40 -0500, Lewis G Rosenthal wrote: >> >> >> >>>Yuri, I've been working to try to get SA running with assassind. >>>However, I'm interested in looking at bogofilter. Could you give a >>>little more detail as to how the porting went? Better yet, could you >>>send me the binaries? :-) >>> >>> >>Yuri's binary is available at netlabs: >> >>ftp://ftp.netlabs.org/pub/misc/bogofilter.zip >> >> > >The origianl is also available here:- > >http://os2power.dnsalias.com/yuri/software/bogofilter1.zip > > > >>probably contains source as well (can't remember :-) >> >> > >There is no source or even patches included. I don't know if this implies >it builds straight out of the box - must give this a try sometime... > > > >>cu >> >>Adrian >> >> >>-- >>Adrian Gschwend >> at netlabs.org >> >>ktk [a t] netlabs.org >>------- >>Free Software for OS/2 and eCS >>http://www.netlabs.org >> >> > > > > -- Lewis --------------------------------------------------------------------- Lewis G Rosenthal, CNA Rosenthal & Rosenthal : Accountants / Network Consultants New York / Northern Virginia : www.2rosenthals.com Novell Users International : www.whytheylie.com OS/2's new face is eComStation : www.ecomstation.com --------------------------------------------------------------------- This OS/2 system (Apollo) uptime is 0 days 00:15 hours and 09 seconds **= Email 2 ==========================** Date: Fri, 07 Mar 2003 08:13:53 -0600 From: email at eracc.hypermart.net (ERACC Lists) Subject: Re: NFS In: <20030307120831.O83 at manninghammills.org> On: Fri, 7 Mar 2003 12:08:31 +0000 Screaming: NFS John Poltorak did rant: +Does a standard Linux distro such as Red Hat include NFS? If not where +would get it from? Every distro I have tried (Hed Rat, OpenLinux, Knoppix and Mandrake) has NFS support for both daemon and client. +Are there any problems mounting a Linux filesystem on OS/2 over the +Internet? I would guess there would be security problems with that as NFS traffic is not encrypted nor is NFS especially secure. Perhaps going through a VPN tunnel it would work, I see no reason it would not. Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # eCS,OS/2,UnixWare,OpenServer & Linux Business Computing Solutions # # Please visit our www pages at http://eracc.hypermart.net/ # +===================================================================+ We run IBM OS/2 v.4.00, Revision 9.036 Sysinfo: 40 Processes, 154 Threads, uptime is 2d 10h 24m 54s 681ms **= Email 3 ==========================** Date: Fri, 7 Mar 2003 10:04:29 -0800 From: "Neil Waldhauer" Subject: Re: NFS on Fri, 7 Mar 2003 12:08:31 +0000, John Poltorak wrote: > Does a standard Linux distro such as Red Hat include NFS? If not where > would get it from? > > Are there any problems mounting a Linux filesystem on OS/2 over the > Internet? I tried to do this last week with Red Hat v8, and I had no joy. All of the OS/2 machines could share and use NFS amongst each other, but Red Hat could not share or use NFS. (Didn't try Red Hat to localhost) I think there is some problem with versions of RPC? > > -- > John Neil Waldhauer neil at blondeguy.com www.blondeguy.com Expert consulting for OS/2 and eComStation **= Email 4 ==========================** Date: Fri, 7 Mar 2003 10:25:13 +0000 From: John Poltorak Subject: Re: exec family On Thu, Mar 06, 2003 at 06:24:48PM +0000, Dave Saville wrote: > I know that execl* is for fixed number of args, execv* for variable > and *e passes an environment. But what is the difference between > execv & execp - the parameter list are the same? I guess that's a typo and you mean execv & execvp... According to my Kelley/Pohl 'Book on C':- Members of the family with 'p' in their name use the path specified in the environment to determine which directories to search for the program. Presumably execv uses either the current directory or a fully qualified pathname... > TIA > > > -- > Regards > > Dave Saville -- John **= Email 5 ==========================** Date: Fri, 07 Mar 2003 10:58:26 +0100 (MES) From: "Adrian Gschwend" Subject: Re: SpamAssassin On Thu, 06 Mar 2003 19:27:40 -0500, Lewis G Rosenthal wrote: >Yuri, I've been working to try to get SA running with assassind. >However, I'm interested in looking at bogofilter. Could you give a >little more detail as to how the porting went? Better yet, could you >send me the binaries? :-) Yuri's binary is available at netlabs: ftp://ftp.netlabs.org/pub/misc/bogofilter.zip probably contains source as well (can't remember :-) cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org **= Email 6 ==========================** Date: Fri, 07 Mar 2003 11:43:39 +0000 (GMT) From: "Dave Saville" Subject: Re: exec family On Fri, 7 Mar 2003 10:25:13 +0000, John Poltorak wrote: >On Thu, Mar 06, 2003 at 06:24:48PM +0000, Dave Saville wrote: > >> I know that execl* is for fixed number of args, execv* for variable >> and *e passes an environment. But what is the difference between >> execv & execp - the parameter list are the same? > >I guess that's a typo and you mean execv & execvp... > >According to my Kelley/Pohl 'Book on C':- > >Members of the family with 'p' in their name use the path specified in the >environment to determine which directories to search for the program. > > > >Presumably execv uses either the current directory or a fully qualified >pathname... Thanks John - My K & R does not mention them at all :-) -- Regards Dave Saville **= Email 7 ==========================** Date: Fri, 7 Mar 2003 12:00:11 +0000 From: John Poltorak Subject: Re: SpamAssassin On Fri, Mar 07, 2003 at 10:58:26AM +0100, Adrian Gschwend wrote: > On Thu, 06 Mar 2003 19:27:40 -0500, Lewis G Rosenthal wrote: > > >Yuri, I've been working to try to get SA running with assassind. > >However, I'm interested in looking at bogofilter. Could you give a > >little more detail as to how the porting went? Better yet, could you > >send me the binaries? :-) > > Yuri's binary is available at netlabs: > > ftp://ftp.netlabs.org/pub/misc/bogofilter.zip The origianl is also available here:- http://os2power.dnsalias.com/yuri/software/bogofilter1.zip > probably contains source as well (can't remember :-) There is no source or even patches included. I don't know if this implies it builds straight out of the box - must give this a try sometime... > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John **= Email 8 ==========================** Date: Fri, 7 Mar 2003 12:08:31 +0000 From: John Poltorak Subject: NFS Does a standard Linux distro such as Red Hat include NFS? If not where would get it from? Are there any problems mounting a Linux filesystem on OS/2 over the Internet? -- John **= Email 9 ==========================** Date: Fri, 7 Mar 2003 15:27:30 +0100 (CET) From: Stefan Neis Subject: Re: NFS Hi, > Does a standard Linux distro such as Red Hat include NFS? Sure. > Are there any problems mounting a Linux filesystem on OS/2 over the > Internet? You don't want to use NFS over the Internet. ;-) Seriously speaking, I suppose it might be intended to work over the Internet, but in view of the minimal security that it provides, it normally is used in LANs exclusively, so if there's a problem with the internet connectivity that likely goes unnoticed for a long time. So I doubt that it will work in practice... Regards, Stefan **= Email 10 ==========================** Date: Fri, 07 Mar 2003 16:20:48 -0500 From: Henry Sobotka Subject: Re: perl question Dave Saville wrote: > > It certainly does not try and run /usr/local/bin/perl as it does not > exist. Should it be processing the shebang line at all for options? "...the #! line is always examined for switches as the line is being parsed" - Programming Perl, p. 329. In this case it doesn't have to try to run /usr/local/bin/perl because perl is already running; though obviously the script would fail if invoked in a shell that relied on the line to call the interpreter. Incidentally, here the "Too late" croak (from perl.c) goes away and a taint warning is displayed when a script with -T in the shebang line is invoked directly at a sh prompt, e.g.: [borges|c:/temp]testfoo tfile Insecure dependency in open while running with -T switch at ./testfoo line 3. [borges|c:/temp]perl testfoo tfile Too late for "-T" option at testfoo line 1. h~ **= Email 11 ==========================** Date: Fri, 07 Mar 2003 16:44:47 +0100 (CET) From: "Christian Hennecke" Subject: Re: NFS On Fri, 7 Mar 2003 12:08:31 +0000, John Poltorak wrote: >Does a standard Linux distro such as Red Hat include NFS? If not where >would get it from? > >Are there any problems mounting a Linux filesystem on OS/2 over the >Internet? In addition to what others replied, the OS/2 NFS stuff has some limitations, i.e. it won't work with hard disks over a certain size and with directories with more than a certain number of files in them. Christian Hennecke **= Email 12 ==========================** Date: Fri, 07 Mar 2003 17:54:51 +0000 (GMT) From: "Dave Saville" Subject: perl question I am trying to play with some code and it has to work on *nix as well as OS/2. The first line of the script is the usual #!/usr/local/bin/perl. What I have discovered is that if the shebang line is #!/usr/local/bin/perl -w -T and I invoke it with perl script.pl Then *it processes the shebang line* and whinges about it being too late for -T It certainly does not try and run /usr/local/bin/perl as it does not exist. Should it be processing the shebang line at all for options? -- Regards Dave Saville **= Email 13 ==========================** Date: Fri, 7 Mar 2003 17:57:25 +0000 From: John Poltorak Subject: Re: FHS compilant OpenSSH package available On Fri, Mar 07, 2003 at 06:02:21PM +0100, Adrian Gschwend wrote: > Hi all, > > I finaly made a correct version of OpenSSH regarding FHS compilance. > All files are where they belong to on unix systems (I hope at least), > including man-pages. You can get the file at > > ftp://ftp.os2ports.com/incoming/openssh-3.5p1.3-FHS.zip > > I recommend you to read the INF-File which is shipped with it (in the > /usr/doc/openssh... directory). It describes how to generate the keys. > According to the documentation it does take care of %UNIXROOT% so you > can give an alternate ETC as well like this. > > I successfuly use this port with the UXOS2BS done by John's script. I > simply adjusted the HOME variable to my home and added a USER variable > as well for my default user. > > Note that I didn't port it, I just reassembled the zip-file done by > nickk. The best version would certainly be to be able to compile the > source out of the box but I don't know if this is easy possible (I > doubt it :) Does it come with any patches? If so, it should be easy enough to build... > cu > > Adrian > > > -- > Adrian Gschwend > at netlabs.org > > ktk [a t] netlabs.org > ------- > Free Software for OS/2 and eCS > http://www.netlabs.org -- John **= Email 14 ==========================** Date: Fri, 07 Mar 2003 18:02:21 +0100 (MES) From: "Adrian Gschwend" Subject: FHS compilant OpenSSH package available Hi all, I finaly made a correct version of OpenSSH regarding FHS compilance. All files are where they belong to on unix systems (I hope at least), including man-pages. You can get the file at ftp://ftp.os2ports.com/incoming/openssh-3.5p1.3-FHS.zip I recommend you to read the INF-File which is shipped with it (in the /usr/doc/openssh... directory). It describes how to generate the keys. According to the documentation it does take care of %UNIXROOT% so you can give an alternate ETC as well like this. I successfuly use this port with the UXOS2BS done by John's script. I simply adjusted the HOME variable to my home and added a USER variable as well for my default user. Note that I didn't port it, I just reassembled the zip-file done by nickk. The best version would certainly be to be able to compile the source out of the box but I don't know if this is easy possible (I doubt it :) Note that it doesn't include Security/2 done by nickk, you will need that if you want to run sshd on OS/2. OpenSSH for OS/2 homepage: http://en.ecomstation.ru/openssh/ The cool thing about this package is that you can unzip it into an existing unixos2 tree and at least the SSH-Client should work more or less out of the box without complaining about wrong paths and such stuff. cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org **= Email 15 ==========================** Date: Fri, 07 Mar 2003 19:39:51 +0100 (MES) From: "Adrian Gschwend" Subject: Re: FHS compilant OpenSSH package available On Fri, 7 Mar 2003 17:57:25 +0000, John Poltorak wrote: >Does it come with any patches? If so, it should be easy enough to >build... the binary does not contain any source files or patches. cu Adrian -- Adrian Gschwend at netlabs.org ktk [a t] netlabs.org ------- Free Software for OS/2 and eCS http://www.netlabs.org