From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Tue, 11 Mar 2003 05:00:19 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 69 ************************************************** Monday 10 March 2003 Number 69 ************************************************** Subjects for today 1 Re: CVS help : Steven Levine" 2 Re: CVS help : John Poltorak 3 Re: Perl - crypt() function : Henry Sobotka 4 Re: Perl SSLeay library : Henry Sobotka 5 Perl - crypt() function : John Poltorak 6 Re: Perl - crypt() function : John Poltorak 7 Perl SSLeay library : John Poltorak 8 Re: Perl SSLeay library : Steve Wendt 9 Re: Perl SSLeay library : Lyn St George" 10 Re: Perl SSLeay library : John Poltorak 11 Re: Perl SSLeay library : Lyn St George" 12 Re: Perl SSLeay library : John Poltorak 13 Re: Perl - crypt() function : Lyn St George" 14 Re: Perl - crypt() function : Holger Veit 15 Re: Perl - crypt() function : John Poltorak **= Email 1 ==========================** Date: Tue, 11 Mar 2003 09:27:33 -0800 From: "Steven Levine" Subject: Re: CVS help In <20030310213215.U83 at manninghammills.org>, on 03/10/03 at 09:32 PM, John Poltorak said: >I'm trying to download the posix2 cvs tree from sourceforge but can't get > the syntax right. What syntax are you trying to use? A typical first time checkout would be something like: set CVSRoot=:pserver:anonymous at cvs.jsyncmanager.sourceforge.net:/cvsroot/jsyncmanager mkdir sandbox cd sandbox cvs login cvs co . Updates would be: cvs sandbox cvs update -dP For performance, I recommend a .cvsrc containing: cvs -z3 I also use: update -d and am considering changing this to: update -dP since it's rare that I don't use the -P flag. >If I am on a local network, is there some way I need to redirect cvs >through a proxy server or somesuch? Yes. You need to allow the CVS ports to pass through. The CVS manual has the details. Steven -- --------------------------------------------------------------------- "Steven Levine" MR2/ICE 2.35 #10183 Warp4/FP15/14.085_W4 www.scoug.com irc.webbnet.org #scoug (Wed 7pm PST) --------------------------------------------------------------------- **= Email 2 ==========================** Date: Tue, 11 Mar 2003 09:35:59 +0000 From: John Poltorak Subject: Re: CVS help On Mon, Mar 10, 2003 at 03:20:27PM -0800, Dave and Natalie wrote: > On Mon, 10 Mar 2003 21:32:15 +0000, John Poltorak wrote: > > > > >I'm trying to download the posix2 cvs tree from sourceforge but can't get > >the syntax right. > > There seems to be a problem right now, all I get is > cvs.exe [checkout aborted]: recv() from server cvs.sourceforge.net: EOF > Dave > ps you should be able to use the instructions at http://sourceforge.net/cvs/?group_id=3366 or if you have already got posix2 from cvs just I've read the instructions several times but can't get it working. Maybe there is a problem getting connected from a local network... Is there any way to specify using a proxy server? > Dave -- John **= Email 3 ==========================** Date: Tue, 11 Mar 2003 11:55:00 -0500 From: Henry Sobotka Subject: Re: Perl - crypt() function John Poltorak wrote: > > I'm trying to install WEBMIN and it tells me that the crypt() function is > not implemented in my installation. > > What can I do about it? Install the library in LIBRARY_PATH so Perl can find it during configure, then check config.sh to make sure it was found and -lcrypt has been added to the libraries, and rebuild. h~ **= Email 4 ==========================** Date: Tue, 11 Mar 2003 15:17:16 -0500 From: Henry Sobotka Subject: Re: Perl SSLeay library John Poltorak wrote: > > While trying to install Webmin, I'm told that the Perl SSLeay library is > not installed and that SSL is not available. > > Is this anything to do with crypt() or do I need to add something else to > Perl? The only way to find out is by installing SSLeay, which may in turn have its own requirements, all of which should be on CPAN. But if it says you need crypt(), that's what you have to feed it. h~ **= Email 5 ==========================** Date: Tue, 11 Mar 2003 15:34:45 +0000 From: John Poltorak Subject: Perl - crypt() function I'm trying to install WEBMIN and it tells me that the crypt() function is not implemented in my installation. What can I do about it? -- John **= Email 6 ==========================** Date: Tue, 11 Mar 2003 17:31:36 +0000 From: John Poltorak Subject: Re: Perl - crypt() function On Tue, Mar 11, 2003 at 11:55:00AM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > I'm trying to install WEBMIN and it tells me that the crypt() function is > > not implemented in my installation. > > > > What can I do about it? > > Install the library in LIBRARY_PATH so Perl can find it during > configure, then check config.sh to make sure it was found and -lcrypt > has been added to the libraries, and rebuild. Where is the latest source for crypt()? Is it the crypt directory of GLIBC? > h~ -- John **= Email 7 ==========================** Date: Tue, 11 Mar 2003 19:05:29 +0000 From: John Poltorak Subject: Perl SSLeay library While trying to install Webmin, I'm told that the Perl SSLeay library is not installed and that SSL is not available. Is this anything to do with crypt() or do I need to add something else to Perl? -- John **= Email 8 ==========================** Date: Tue, 11 Mar 2003 19:19:10 -0800 (PST) From: Steve Wendt Subject: Re: Perl SSLeay library On Tue, 11 Mar 2003, John Poltorak wrote: > All I get is a screen saying I do not have access to any Webmin modules. > Maybe this is due to something missing from /etc/passwd or somesuch... > How is authentication done with Webmin? Lyn's suggestion for changepass.pl will probably help you, but from what I've seen on Linux, by default it only allows authentication for the root user, using the standard root password. **= Email 9 ==========================** Date: Tue, 11 Mar 2003 20:05:21 +0000 From: "Lyn St George" Subject: Re: Perl SSLeay library On Tue, 11 Mar 2003 19:05:29 +0000, John Poltorak wrote: > >While trying to install Webmin, I'm told that the Perl SSLeay library is >not installed and that SSL is not available. > >Is this anything to do with crypt() or do I need to add something else to >Perl? This is separate to the crypt issue. You can run Webmin without SSL if you want; you can also use it to get and install any Perl module from CPAN. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 10 ==========================** Date: Tue, 11 Mar 2003 20:22:32 +0000 From: John Poltorak Subject: Re: Perl SSLeay library On Tue, Mar 11, 2003 at 08:05:21PM +0000, Lyn St George wrote: > On Tue, 11 Mar 2003 19:05:29 +0000, John Poltorak wrote: > > > > >While trying to install Webmin, I'm told that the Perl SSLeay library is > >not installed and that SSL is not available. > > > >Is this anything to do with crypt() or do I need to add something else to > >Perl? > > This is separate to the crypt issue. You can run Webmin without > SSL if you want; I can see that now. I have managed to get it running, but I had to select an OS from the available list so it comes up saying Redhat Linux 8.1... > you can also use it to get and install any Perl > module from CPAN. That sounds useful - I'd like to give it a try sometime, once I can figure out how to logon and actually configure some apps I have running... What is the first screen that should come up when you connect? All I get is a screen saying I do not have access to any Webmin modules. Maybe this is due to something missing from /etc/passwd or somesuch... How is authentication done with Webmin? > - > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- > -- John **= Email 11 ==========================** Date: Tue, 11 Mar 2003 20:39:13 +0000 From: "Lyn St George" Subject: Re: Perl SSLeay library On Tue, 11 Mar 2003 20:22:32 +0000, John Poltorak wrote: >All I get is a screen saying I do not have access to any Webmin modules. > >Maybe this is due to something missing from /etc/passwd or somesuch... > >How is authentication done with Webmin? Ah yes. In the root of your installation (eg, /usr/webmin-1.050) you will find 'changepass.pl' Run it like this: usage: changepass.pl where is normally /etc/webmin, and create a new login/passwd for yourself. - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 12 ==========================** Date: Tue, 11 Mar 2003 20:44:08 +0000 From: John Poltorak Subject: Re: Perl SSLeay library On Tue, Mar 11, 2003 at 03:17:16PM -0500, Henry Sobotka wrote: > John Poltorak wrote: > > > > While trying to install Webmin, I'm told that the Perl SSLeay library is > > not installed and that SSL is not available. > > > > Is this anything to do with crypt() or do I need to add something else to > > Perl? > > The only way to find out is by installing SSLeay, which may in turn have > its own requirements, all of which should be on CPAN. But if it says you > need crypt(), that's what you have to feed it. Well I've found it runs without SSLeay and it can be installed by commenting out the check for crypt() in the install process, so I'll worry about those missing functions later. I want to find out if it can actually do anything useful on OS/2 first. Now, if only I could find a way to login... > > h~ -- John **= Email 13 ==========================** Date: Tue, 11 Mar 2003 20:46:23 +0000 From: "Lyn St George" Subject: Re: Perl - crypt() function On Tue, 11 Mar 2003 21:09:30 +0100, Holger Veit wrote: > >Thanks to the paranoia of our dear US American friends, it has been >forbidden to export cryptography products that contained the DES algorithm >which is the base of crypt(). Even if the implementation were written >abroad, once it was imported through some library to an US FTP server, >it was no longer permitted to export that code again. Although this >restriction IIRC does no longer exist nowadays, you will still typically >find crippled implementations (code that just uuencodes the password, etc.) >as well as incompatible versions (that will not work in an environment >where the real DES crypt() is required, such as YellowPages/NIS). You may >or may not be successful in finding a correct crypt in some library source >like BSD libc or glibc, but you are more likely successful searching for >a "European" implementation of DES, like the one in "ufc crypt" (google >for these keywords). Result is some librcrypt.a that configure will >normally search for when crypt() is needed. > >Holger Classified as "munitions" ... You can find ufc crypt ready built at ftp.zolotek.net/os2/ - Cheers Lyn St George +--------------------------------------------------------------------------------- + http://www.zolotek.net .. eCommerce hosting, consulting + http://www.os2docs.org .. some 'How To' stuff ... +---------------------------------------------------------------------------------- **= Email 14 ==========================** Date: Tue, 11 Mar 2003 21:09:30 +0100 From: Holger Veit Subject: Re: Perl - crypt() function On Tue, Mar 11, 2003 at 05:31:36PM +0000, John Poltorak wrote: > On Tue, Mar 11, 2003 at 11:55:00AM -0500, Henry Sobotka wrote: > > John Poltorak wrote: > > > > > > I'm trying to install WEBMIN and it tells me that the crypt() function is > > > not implemented in my installation. > > > > > > What can I do about it? > > > > Install the library in LIBRARY_PATH so Perl can find it during > > configure, then check config.sh to make sure it was found and -lcrypt > > has been added to the libraries, and rebuild. > > Where is the latest source for crypt()? Is it the crypt directory of GLIBC? Thanks to the paranoia of our dear US American friends, it has been forbidden to export cryptography products that contained the DES algorithm which is the base of crypt(). Even if the implementation were written abroad, once it was imported through some library to an US FTP server, it was no longer permitted to export that code again. Although this restriction IIRC does no longer exist nowadays, you will still typically find crippled implementations (code that just uuencodes the password, etc.) as well as incompatible versions (that will not work in an environment where the real DES crypt() is required, such as YellowPages/NIS). You may or may not be successful in finding a correct crypt in some library source like BSD libc or glibc, but you are more likely successful searching for a "European" implementation of DES, like the one in "ufc crypt" (google for these keywords). Result is some librcrypt.a that configure will normally search for when crypt() is needed. Holger -- Please update your tables to my new e-mail address: holger.veit$ais.fhg.de (replace the '$' with ' at ' -- spam-protection) **= Email 15 ==========================** Date: Tue, 11 Mar 2003 21:40:44 +0000 From: John Poltorak Subject: Re: Perl - crypt() function On Tue, Mar 11, 2003 at 08:46:23PM +0000, Lyn St George wrote: > You can find ufc crypt ready built at ftp.zolotek.net/os2/ I only see KUR's port of GNUUFC. Is that what you mean? It doesn't contain anything ready built. > > - > Cheers > Lyn St George > +--------------------------------------------------------------------------------- > + http://www.zolotek.net .. eCommerce hosting, consulting > + http://www.os2docs.org .. some 'How To' stuff ... > +---------------------------------------------------------------------------------- > -- John