Re: [update] autossh 1.2g-2

2004-08-18 Thread Corinna Vinschen
On Aug 16 15:52, [EMAIL PROTECTED] wrote:
 Changes:
 * Expanded /usr/share/doc/autossh/README.Cygwin, to describe the NT
 service mode and how to use it with cygrunsrv.
 
 http://home.comcast.net/~andrex/cygwin/autossh/setup.hint
 http://home.comcast.net/~andrex/cygwin/autossh/autossh-1.2g-2.tar.bz2
 http://home.comcast.net/~andrex/cygwin/autossh/autossh-1.2
 g-2-src.tar.bz2

Uploaded.

Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


Re: Attn: e2fsimage maintainer

2004-08-18 Thread Gerrit P. Haase
Max schrieb:

 The syntax of setup.hint / setup.ini requires: lines is a *space-seperated*
 list of package names. Do not include commas. I've fixed the version on
 sourceware, please update your local copy.

 Max.


Oops, sorry, missed that when I reviewed / uploaded.  Thanks for the
quick fix.

Gerrit
-- 
=^..^=



[ANN] Updated: rsync-2.6.2-2

2004-08-18 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I guess the rsync team is going through some serious security
testing? Well, anyhow here's a new security advisory:
http://rsync.samba.org/#security_aug04

Please notice that I applied the fix to the existing release
2.6.2 instead of using 2.6.3pre1 as can be downloaded from the
website (I think a small patch is better than a pre-release
that includes it).

Here it goes:

6cfd12cbb6d548f06751f40fcfa44323
http://www.lapo.it/cygwin/rsync-2.6.2-2-src.tar.bz2

cdcecde8c6cfe267b9390ca077751d5b
http://www.lapo.it/cygwin/rsync-2.6.2-2.tar.bz2

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)

iEYEARECAAYFAkEjQWUACgkQaJiCLMjyUvtfyQCfaTDGeW/+cjKu+gNrOUot3JF9
mnsAoMelUIE4qb0rWZdBVmpI74vQ+6fA
=33ld
-END PGP SIGNATURE-




Attn: openldap maintainer

2004-08-18 Thread Max Bowsher
Please rename your libopenldap2-2-15 package to libopenldap2_2_15
The dashes followed by digits in the name are making setup.exe confused 
about which part is the package name and which part is the version number.

Max.


Re: [ANN] Updated: rsync-2.6.2-2

2004-08-18 Thread Corinna Vinschen
On Aug 18 07:46, Lapo Luchini wrote:
 http://www.lapo.it/cygwin/rsync-2.6.2-2-src.tar.bz2
 http://www.lapo.it/cygwin/rsync-2.6.2-2.tar.bz2

Uploaded.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.


RE: [update] base-files and base-passwd

2004-08-18 Thread John Morrison
Please upload :)

http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/base-files-3.0-2.tar.bz2
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/md5sum
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-files/setup.hint

Base-files
Change:
3.0-2
* Fix for security interactions when using cp - Thanks to
  Pierre A. Humblet
3.0-1
* Added several open source license files.  These were sourced
  from http://www.opensource.org/licenses/
  Packages may contain minor variations on these files.
* Added a preremove script to help keep the various scripts
  uptodate (unless they've been modified).
* At Igor Pechtchanski's suggestion, all base-file scripts
  are now versioned.
* Several patches, thanks to all.  Now I'm keeping this
  changelog I'll be sure to add names!  Appologies to all who
  helped with this version.

**
**
* NOTE: if you want the automatic update script to   *
*   keep files up to date, you *must* delete the *
*   following files and then reinstall the   *
*   base-files package;  *
*   /etc/bash.bashrc *
*   /etc/DIR_COLORS  *
*   /etc/profile *
*   /etc/skel/.bashrc*
*   /etc/skel/.bash_profile  *
*   /etc/skel/.inputrc   *
**
**

Base-passwd
Change: chmod 777 /etc/[group|passwd] when created

http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/base-passwd-2.1-1.tar.bz2
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/md5sum
http://homepage.ntlworld.com/j-n-s.morrison/john/cygwin/base-passwd/setup.hint

Let me know if there are any issues :)

J.




Seeking initial reactions: Moving setup from CVS to Subversion?

2004-08-18 Thread Max Bowsher
At some point in the medium-to-long-term future, I'd quite like to move the 
setup code from CVS to Subversion.

Partly, that's because of all the little improvements subversion brings over 
cvs, but a notable concrete benefit subversion would bring is the ability to 
moves of files easily, without breaking up lines of history. This would be 
of great value, because setup would benefit from refactoring into one or 
more utility libraries, a core installation logic library, and one or more 
user interfaces - i.e. GUI and TUI. The ability to make subdirectories and 
move files into them, with ease, and without making it hard to access 
historical versions is key to making this feasible.

If this is to proceed, I believe I'll need to contact the sourceware 
overseers and discuss whether there would be any obstacles to setting up 
subversion on sources.redhat.com .

Right now, though, I'm just looking for initial reactions.
I certainly wouldn't be proposing to start moving on this until after 
Subversion 1.1 is released, packaged for cygwin, and has had a little real 
world soak time - that would be about 2 months from now.

Max.


Re: Seeking initial reactions: Moving setup from CVS to Subversion?

2004-08-18 Thread Christopher Faylor
On Thu, Aug 19, 2004 at 12:42:28AM +0100, Max Bowsher wrote:
At some point in the medium-to-long-term future, I'd quite like to move the 
setup code from CVS to Subversion.

Partly, that's because of all the little improvements subversion brings 
over cvs, but a notable concrete benefit subversion would bring is the 
ability to moves of files easily, without breaking up lines of history. 
This would be of great value, because setup would benefit from refactoring 
into one or more utility libraries, a core installation logic library, and 
one or more user interfaces - i.e. GUI and TUI. The ability to make 
subdirectories and move files into them, with ease, and without making it 
hard to access historical versions is key to making this feasible.

If this is to proceed, I believe I'll need to contact the sourceware 
overseers and discuss whether there would be any obstacles to setting up 
subversion on sources.redhat.com .

Do you really think this would be the first time anyone has raised this
issue to overseers?  It has come up repeatedly.  There has never been
consensus on the best source control system to use.

I don't see any need to make cygwin's setup code development different
from the rest of cygwin and its packages.

I would not support such a move.

cgf


Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Charles Plager
Good day,
	Microsoft is getting ready to push out SP2 via their automatic update. 
 What experiences have people had with using cygwin applications with 
sp2 installed (particularly with the improved firewall)?

Thanks,
  Charles


Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread James Merritt
Hi Charles,

The latest I have heard on SP2 is that Microsoft is
pushing it back a week or two because of concerns that
some programs may not work at all after the
installation.  Microsoft has a list of about 50 to 200
programs that will be or potentially could be
affected.Many corporations are going to do test
runs on thier enterprise systems, like testing on
smaller networks first, to ensure there will be no
problems or if there are how to avoid or fix them.  I
plan on waiting a few months after the release before
updating.  My system works without using the built-in
firewall of XP, I use Zone Alarm freeeware version. 

Just passing on what has been reported in the news.

Have a great day!!

James E. Merritt

--- Charles Plager [EMAIL PROTECTED]
wrote:

 Good day,
 
   Microsoft is getting ready to push out SP2 via
 their automatic update. 
   What experiences have people had with using cygwin
 applications with 
 sp2 installed (particularly with the improved
 firewall)?
 
   Thanks,
 Charles
 




__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 


RE: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Cameron, Thomas
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Charles Plager
 Sent: Wednesday, August 18, 2004 8:07 AM
 To: Cygwin Mailing list; [EMAIL PROTECTED]
 Subject: Windows XP SP2 - anybody tried it yet?
 
 
 Good day,
 
   Microsoft is getting ready to push out SP2 via their 
 automatic update. 
   What experiences have people had with using cygwin 
 applications with 
 sp2 installed (particularly with the improved firewall)?
 
   Thanks,
 Charles

I've installed SP2 at home and if you are clueful about which ports to open the 
firewall interface is actually pretty intuitive.  It is also pretty easy to just 
turn the firewall off (which I did b/c it is on a trusted network).

-- 
Thomas Cameron, RHCE, CNE, MCSE, MCT
Assistant Vice President
Linux Design and Engineering
Bank of America
(972) 997-9641

The opinions expressed in this message do not necessarily reflect those of my 
employer, Bank of America.


Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Shankar Unni
Charles Plager wrote:
Microsoft is getting ready to push out SP2 via their automatic 
update.  What experiences have people had with using cygwin applications 
with sp2 installed (particularly with the improved firewall)?
I've been running SP2 (final network admin install) for the last week. 
No problems with ordinary usage.

I don't run any network daemons like FTPd or sshd, but even for them, 
the only thing you have to do is to open a firewall port (or allow the 
program to listen on any port - there are two ways to punch holes in the 
Windows firewall).

Note that the default mode of the FTP client will cause one of these 
port use warnings to pop up from Windows, because in its regular mode 
(i.e. not PASV), when you GET a file using FTP, the client actually 
listens on a port, and the server tries to open connection to push the 
data. Again, all you have to when Windows pops up the program is trying 
to open port dialog, is to say OK once.



aterm refresh bug

2004-08-18 Thread Ian . McIntosh
Hi,

Has anybody fixed or found a solution or workaround to the aterm refresh
bug, where a transparent aterm window will only display typed characters
and output once you drag or resize the window?  I've seen some discussion
of it in messages here, but nothing to hint at an answer.  I've also tried
it with various window managers, all with the same result.

cheers,
Ian



This e-mail and any files transmitted with it are intended only for the use
of the addressee(s).  It may contain information that is confidential and
privileged.  If you are not an intended recipient, any use, interference
with, disclosure, distribution or copying of this material is unauthorised
and prohibited. If you receive this in error, please notify the author by
return e-mail or telephone +61-8-9273 7533.  Information in this message
not relating to the official business of DLI shall be understood as neither
given nor endorsed by it.  While every care is taken, it is recommended
that you scan any attachments for viruses. DLI liability is limited to
re-supplying affected attachments.




setup: current: repeated offer of same update

2004-08-18 Thread fergus
setup (setup-timestamp: 1092781231) currently repeatedly offers an update of
libopenldap from 2-15-2.2.15-1 to 2.2.15-1 even after acceptance and
installation.
Fergus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: cygwin-perl: matching behaves weird

2004-08-18 Thread Wardman_Michael
I wonder if the /s on the end is getting a newline problem somewhere?

This might explain the Windows vs. Cygwin behaviour, as they can be
configured to have different line endings.

I've had to modify a lot of scripts to run under Cygwin by adding:
 | tr -d '\r'

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, 18 August 2004 11:49
To: [EMAIL PROTECTED]
Subject: cygwin-perl: matching behaves weird


Now, this may be old news for many of you, but I'm new to cygwin, so please 
don't shoot. I'd be happy if someone would post me a link to the solution.

I'm doing quite strightforward matching using regular expressions in perl
(as 
you can see below) and the code used to work just fine on the ActiveState
perl, 
but behaves very strange with cygwin Perl:

-
unless ($page =~ /a href=\#
onClick=window\.open\('(popBibTex.cfm\?.+?)',/s)
-

It simply does not match. I tried playing around, cuting certain suspicios 
parts, and here is what I found out:

-
unless ($page =~ /on\Click=window\.open\('(popBibTex.cfm\?.+?)',/s)
-

this does match. (notice the \ before C)

What's up? (::confused;)

I'm runing Win_XP_Pro/SP2, just installed Cygwin (and all 
tools/packages/modules that were available through the web install utility).

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] New package: e2fsprogs-1.35

2004-08-18 Thread Robb, Sam
The package 'e2fsprogs' is now available in the Cygwin distribution.

The Ext2 Filesystem Utilities (e2fsprogs) contain all of the standard
utilities for creating, fixing, configuring, and debugging ext2
filesystems (e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, etc.)

The e2fsprogs home page is http://e2fsprogs.sourceforge.net/

   *** INSTALLATION ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.  e2fsprogs
is located in the Devel category.  Click on this category to install
e2fsprogsif it is not already installed.  If e2fsprogs is already
installed, it will be updated automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

- Sam Robb ([EMAIL PROTECTED])
- http://www.timesys.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] New package: e2fsimage-0.2.0

2004-08-18 Thread Robb, Sam
The package 'e2fsimage' is now available in the Cygwin distribution.

e2fsimage enables the user to create and populate an ext2 filesystem
image as a copy from an existing directory tree. It supports regular
files, directories, soft links, hard links, and block/char special
devices.

The e2fsimage home page is http://sourceforge.net/projects/e2fsimage/

   *** INSTALLATION ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.  e2fsimage
is located in the Devel category.  Click on this category to install
e2fsimage if it is not already installed.  If e2fsimage is already
installed, it will be updated automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

- Sam Robb ([EMAIL PROTECTED])
- http://www.timesys.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



read command available?

2004-08-18 Thread Jarzombek, Svend
I am new to cygwin and try to move some ksh scripts to it.
I am lacking the read command, e. g. like in

cd /directory
ls | while read TEST
do
 echo $TEST
done


Is the read command somewhere available? Up to now I wasn't able to find
it.

TIA

Svend

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote:
 setup (setup-timestamp: 1092781231) currently repeatedly offers an update
of
 libopenldap from 2-15-2.2.15-1 to 2.2.15-1 even after acceptance and
 installation.

Odd.

Can you show us the output of:

fgrep openldap /etc/setup/installed.db

?

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: setup: current: repeated offer of same update

2004-08-18 Thread fergus
 Odd.
 Can you show us the output of:
 fgrep openldap /etc/setup/installed.db
 ?
 Max

Yes. Here it is:

~ fgrep openldap /etc/setup/installed.db
libopenldap2 libopenldap2-2.1.25-1.tar.bz2 0
libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0
openldap openldap-2.2.15-1.tar.bz2 0
openldap-devel openldap-devel-2.2.15-1.tar.bz2 0
~ 

Thank you.

Fergus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote:
 Odd.
 Can you show us the output of:
 fgrep openldap /etc/setup/installed.db
 ?
 Max
 
 Yes. Here it is:
 
 ~ fgrep openldap /etc/setup/installed.db
 libopenldap2 libopenldap2-2.1.25-1.tar.bz2 0


 libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0


That line is corrupt. I don't know how it got there, but delete it anyway.

That should hopefully solve the problem.

Max.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Hannu E K Nevalainen
Larry Hall scribbled on Wednesday, August 18, 2004 1:10 AM:

 At 04:32 PM 8/17/2004, Hannu wrote:
 [EMAIL PROTECTED] i.e. Larry Hall, wrote:
 At 05:39 AM 8/17/2004, you as quoted by Larry - Fergus wrote:

 -zNIPz here and there-
 I know we can install Cygwin wherever we like (default c:\Cygwin\
 but it could be c:\MyOS\ or g:\Cygwin\ or even, after overcoming an
 objection, the root directory g:\). But has Cygwin its own
 expectations of what else is where?

 Cygwin imposes no requirements on the location of the Windows
 installation. Whatever the problem is with this failure, it is
 installation specific and not endemic to Cygwin.

 -WJM-mode=OFF-

 FWIW, I never turned on the WJM mode.


 While there _should_ be no requirements, one has to be realistic and
 recognize this possibly beeing a setup - or postinstall - malfunction
 triggered by the nonstandard install location.


 That would be a bug.  But since Fergus was asking whether Cygwin
 expected certain things in certain locations, the answer to that
 would be no.

Of course, that's the intention. Nothing said about that.

  If it weren't no, then anyone installing Cygwin to
 a drive other than C: would see problems.  The lack of email to this
 list on the matter is just one indication that Cygwin has no
 expectations of where things live.

The lack of messages might just as well be an indication of the number of
people actually trying this particular thing.

SIDENOTE: I've seen situations where a person attempting something similar
just gives up immediately, without any questions. Just the comment Crap! I
don't wanna bother more with it!. No help requested even though there are
several people knowledgable enough standing within arms reach.
 I've seen it not just once - and I must admit; I've done the same myself!
(Download free/shareware/whatever software; installation doesn't work -
scrap it, try another similarily promising package)

  The code itself would be another.

Hmm... I don't get this; is it a back reference to the bug-thing above?

 ;-)

 Ahh, I *understand* this! ;-)


 If a postinstall script is making some such assumptions, I'd expect we
 would've heard quite a bit about that here too (or at
 cygwin-apps).

 Not all malfunctions/mishaps get reported - a report requires some time and
effort to put through; not to mention - the WJM attitude, at display
relatively often, plays part in this. Many people won't stand up against it.
 It is desirable to have *good* problem reports, but when you request higher
quality you also filter away some. It is a dilemma.

FYI: My current employment is all about customer support; *I* _must_ handle
those imprecise and badly phrased problem reports too; eventually the real
problem gets revealed through the linguistic mist. (many .ro/.ru/.ba/.tw top
domains emerge here -i.e. ppl not so used to english)

  But if someone does find such a bug, that's certainly something that
 should be reported to cygwin-apps.

 Yep.


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Backticks hang with dynamic antivirus scanning

2004-08-18 Thread Mike Kenny - BCX - Infrastructure Services
You could try replacing all of your `command` syntax with $(command).
AFAIK, this was introduced with ksh way way back. The back tick support
was kept for compatibility with older bourne shell scripts. But at that time
ATT were recommending $() syntax, though they also recommended that
root should use /bin/sh not /bin/ksh, go figure.

Anyway the replacement should work for scripts that you are developing.
If you have a large number of existing scripts maybe something like
sed -e s/`.*`/$()/g
(this might require a lot of excapes to work, YMMV)

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Behalf
 Of geneSmith
 Sent: Tuesday, August 17, 2004 10:48 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Backticks hang with dynamic antivirus scanning
 
 
 Marco Moreno wrote, On 2/20/2004 11:46 PM:
 
  I recently upgraded cygwin to the latest version and now I'm having
  Command's dynamic antivirus protection conflict with Cygwin 
 so that it
  hangs whenever it encounters backticks in a shell script (e.g.
  /etc/profile).  Configuring the antivirus to ignore c:\cygwin had no
  effect.  If I disable dynamic virus protection, all is well.
  
  Has anyone else encountered this?  Has anything changed in 
 how backticks
  are handled that might cause it to conflict with antivirus software?
  Just trying to get a handle on this to submit a bug report 
 to Command
  Software.  (Though I'm not holding my breath that they'll offer a
  solution other than to avoid cygwin.)
  
  Thanks,
  
  Marco Moreno
  
  
 
 No one answered this back in Feb that I could tell. I am seeing a 
 possibly related or similar problem. I am trying to build a 
 large shall 
 script based project under cygwin called RTEMS. It has been reported 
 that anti-virus can somehow affect the build and cause almost random 
 errors. I can't disable my a.v. since it requires a secret p/w. Could 
 this really be the problem?
 
 -- 
 Lit up like Levy's
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



read command available?

2004-08-18 Thread neal somos
Jarzombek, Svend asks ...

 Is the read command somewhere available? 
 Up to now I wasn't able to find it.

The read command is supposedly a shell builtin.

Strangely enough, the first time I tried the
example given with ksh, I got the exact same response.

However on later attempts, I got what was expected.
I find this odd.

/bin/sh and bash both handle this just fine.
I can't speak for ksh, but maybe its time to
switch to a different shell?

neal



__
Do you Yahoo!?
Y! Messenger - Communicate in real time. Download now. 
http://messenger.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: setup: current: repeated offer of same update

2004-08-18 Thread fergus
 libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0

 That line is corrupt.
 I don't know how it got there, but delete it anyway.
 That should hopefully solve the problem.
 Max

Thank you, Max. I edited this line out of /etc/setup/installed.db, re-ran
setup and was offered the same update, took up the offer, and the line was
re-introduced to installed.db.

Then I edited out both libopenldap lines from installed.db and ran setup. I
was offered two updates and accepted both. This again re-introduced both
libopenldap.. lines into installed.db.

Happy Groundhog Day to all. It can't be just me. Can it?

Fergus


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Creating a multi-volume archive with tar

2004-08-18 Thread Hannu E K Nevalainen
Igor wrote:
 On Wed, 18 Aug 2004, Peter Milliken wrote:

 Next step is I would like to backup some very large files to DVD. I
 have some video files (13GByte) that I would like to backup across
 multiple DVD discs (-R or -RW - whichever works :-)).

 Has anybody used a DVD burner as a backup mechanism and how do you
 work out the device name to use with tar i.e. I found that a floppy
 is /dev/fd0 - what would a DVD burner device name be? Is there a
 command that displays device names?

 Google for create_devices.sh, and use the script to create a real
 /dev directory.  Cygwin's /dev is a virtual directory, so you
 can't really
 look at it unless you have a real directory corresponding to it --
 that's what the script creates.

 Also see http://cygwin.com/cygwin-ug-net/using-specialnames.html.
 HTH,
   Igor

Adding to this; whatever devices that exist under /dev doesn't help in
creating true filesystems on CD/DVD +/- R/RW/blahblah.

cdrecord and mkisofs is what you need for this.
$ cat from.url
[InternetShortcut]
URL=ftp://ftp.berlios.de/pub/cdrecord/
Modified=00928FE01E51C30134

i.e. create *.iso images, then write those onto any media.
smake and cdrtools-2.00.3 compiled OOTB (some previous gcc version), dunno
if there has been updates since.

Im not as sure if dd+cygwin-/dev can be used to write raw stuff onto any of
those... Haven't really looked for/seen such things described.

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
Jarzombek, Svend wrote:

 I am new to cygwin and try to move some ksh scripts to it.
 I am lacking the read command, e. g. like in
 
 cd /directory
 ls | while read TEST
 do
  echo $TEST
 done
 
 
 Is the read command somewhere available? Up to now I wasn't able to
 find it. 

ksh:
$ type read
read is a shell builtin

Hmm... are you using it correctly?
Type this at a shell prompt, enter for both lines.
man ksh
/^ *read \[


As I'm not familiar with ksh, so:
-- *bash* usage example --
#!/bin/bash

cd /
ls | (
  while read TEST ;do
echo -n $TEST 
  done
 )

--
If you find something similar to this:
$ cat abs-guide.url 
[InternetShortcut]
URL=http://www.cs.unibo.it/~montreso/doc/bash/abs-guide.pdf
Modified=F0515A7BC647C401E8

...but slanted for ksh, you might be better off.


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: setup: current: repeated offer of same update

2004-08-18 Thread Hannu E K Nevalainen
on Wednesday, August 18, 2004 2:38 PM Fergus wrote:

Max:
 libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0
 
 That line is corrupt.
 I don't know how it got there, but delete it anyway.
 That should hopefully solve the problem.
 Max

 Happy Groundhog Day to all. It can't be just me. Can it?
 
 Fergus

Nope, I have it too... just havent run setup yet - after deleting the line.

/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



read command available?

2004-08-18 Thread neal somos
A careful reading of the info file for ksh
reveals the following near the bottom ...

--
BTW, the most frequently reported bug is
echo hi | read a; echo $a   # Does not print hi
I'm aware of this and there is no need to report it.
---

I think this is related to what was observed.

What Svend reported was not a question of his,
but what ksh actually printed out. 
(I got it the first time as well, but not on subsequent tries)

neal



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Charles Plager
Good day,
	Microsoft is getting ready to push out SP2 via their automatic update. 
 What experiences have people had with using cygwin applications with 
sp2 installed (particularly with the improved firewall)?

Thanks,
  Charles
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
neal somos wrote:
 The read command is supposedly a shell builtin.

 Strangely enough, the first time I tried the
 example given with ksh, I got the exact same response.

 However on later attempts, I got what was expected.
 I find this odd.

 /bin/sh and bash both handle this just fine.
 I can't speak for ksh, but maybe its time to
 switch to a different shell?

 neal

This really is OT on this list, but as we've started...

 You have to be aware of some automatic optimizations, I'm not sure about
ksh - but bash does some subshell'ing in this situation. The following DOES
indicate that ksh shouldn't, but then you never know how up to date the man
page is.

-- man ksh excerpt --
Note: Some shells (but not this one) execute control structure commands
in a subshell when one or more of  their  file  descriptors  are  redi-
rected,  so  any  environment  changes  inside  them  may  fail.  To be
portable, the exec statement should be used instead  to  redirect  file
descriptors before the control structure.

-- and right after it --
( list )
   Execute list in a subshell.  There is no implicit  way  to  pass
   environment changes from a subshell back to its parent.


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E --72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



perl: cpan module's interactive mode fails

2004-08-18 Thread Stephan Petersen
Hi guys,
I just ran perl -MCPAN -e shell and tried to install Bundle::LWP.
But when it does Scanning cache /home/sp/.cpan/build for sizes, see 
below, it chokes with (see output below):

/usr/bin/tar: Skipping to next header
/usr/bin/tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
I removed all ~/.cpan stuff, tried it again, no difference.
Does anybody have an idea what's going on?
Thanks in advance for any pointers,
Stephan

cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled
cpan install Bundle::LWP
CPAN: Storable loaded ok
LWP not available
Fetching with Net::FTP:
  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp-stud.fht-esslingen.de
LWP not available
Fetching with Net::FTP:
  ftp://ftp.uni-erlangen.de/pub/source/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.uni-erlangen.de
LWP not available
Fetching with Net::FTP:
  ftp://ftp.gwdg.de/pub/languages/perl/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.gwdg.de
LWP not available
Fetching with Net::FTP:
  ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/authors/01mailrc.txt.gz
Couldn't fetch 01mailrc.txt.gz from ftp.mpi-sb.mpg.de
Trying with /usr/bin/ncftpget to get
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/authors/01mailrc.txt.gz
01mailrc.txt.gz:85.46 kB  329.96 
kB/s
Going to read /home/sp/.cpan/sources/authors/01mailrc.txt.gz

Trying with /usr/bin/ncftpget to get
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/modules/02packages.details.
txt.gz
02packages.details.txt.gz: 302.54 kB  347.35 
kB/s
Going to read /home/sp/.cpan/sources/modules/02packages.details.txt.gz
  Database was generated on Wed, 18 Aug 2004 03:07:33 GMT
  HTTP::Date not available

Trying with /usr/bin/ncftpget to get
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/modules/03modlist.data.gz
03modlist.data.gz:  84.50 kB  310.67 
kB/s
Going to read /home/sp/.cpan/sources/modules/03modlist.data.gz
Going to write /home/sp/.cpan/Metadata

Trying with /usr/bin/ncftpget to get
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/authors/id/G/GA/GAAS/libwww
-perl-5.800.tar.gz
libwww-perl-5.800.tar.gz:  223.53 kB  386.07 
kB/s
CPAN: Digest::MD5 loaded ok

Trying with /usr/bin/ncftpget to get
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/CPAN/authors/id/G/GA/GAAS/CHECKS
UMS
CHECKSUMS:  17.61 kB  164.58 
kB/s
Checksum for 
/home/sp/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.800.tar.g
z ok
Scanning cache /home/sp/.cpan/build for sizes
libwww-perl-5.800/
libwww-perl-5.800/lib/
libwww-perl-5.800/lib/HTTP/
libwww-perl-5.800/lib/HTTP/Cookies.pm
libwww-perl-5.800/lib/HTTP/Status.pm
libwww-perl-5.800/lib/HTTP/Cookies/
libwww-perl-5.800/lib/HTTP/Cookies/Netscape.pm
libwww-perl-5.800/lib/HTTP/Cookies/Microsoft.pm
libwww-perl-5.800/lib/HTTP/Request/
libwww-perl-5.800/lib/HTTP/Request/Common.pm
libwww-perl-5.800/lib/HTTP/Headers/
libwww-perl-5.800/lib/HTTP/Headers/Auth.pm
libwww-perl-5.800/lib/HTTP/Headers/ETag.pm
libwww-perl-5.800/lib/HTTP/Headers/Util.pm
libwww-perl-5.800/lib/HTTP/Request.pm
libwww-perl-5.800/lib/HTTP/Response.pm
libwww-perl-5.800/lib/HTTP/Date.pm
libwww-perl-5.800/lib/HTTP/Daemon.pm
libwww-perl-5.800/lib/HTTP/Message.pm
libwww-perl-5.800/lib/HTTP/Negotiate.pm
libwww-perl-5.800/lib/HTTP/Headers.pm
/usr/bin/tar: Skipping to next header
/usr/bin/tar: Archive contains obsolescent base-64 headers

gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
/usr/bin/tar: Error exit delayed from previous errors
Uncompressed 
/home/sp/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.800.tar.g
z successfully
Using Tar:/usr/bin/tar xvf 
/home/sp/.cpan/sources/authors/id/G/GA/GAAS/libwww-pe
rl-5.800.tar:
libwww-perl-5.800/
libwww-perl-5.800/lib/
libwww-perl-5.800/lib/HTTP/
libwww-perl-5.800/lib/HTTP/Cookies.pm
/usr/bin/tar: Skipping to next header
/usr/bin/tar: Archive contains obsolescent base-64 headers
/usr/bin/tar: Error exit delayed from previous errors
Couldn't untar 
/home/sp/.cpan/sources/authors/id/G/GA/GAAS/libwww-perl-5.800.tar


cpan quit
Lockfile removed.
--
Stephan Petersen [EMAIL PROTECTED]
Visit GTT's Technical Thermochemistry Web Page at 
http://www.gtt-technologies.de/

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


strange login behavior

2004-08-18 Thread Erik Weibust
I am experiencing some strange login behavior.  First, some bachground
on my situation.  I prefer the putty terminal over the MS cmd window
that cygwin.bat uses.  So I use putty and ssh into my cygwin account.

Two problems.  One, when I ssh into my acct I'm not getting the latest
PATH entries I've entered via Windows.  I'll show some of my .bashrc:

JAVA_HOME=~/java/j2sdk1.4.2_04
ANT_HOME=~/java/apache-ant-1.6.1
CATALINA_HOME=~/java/jakarta-tomcat-5.0.25
MYSQL_HOME=~/mysql

PATH=$PATH:/cygdrive/c/Program\
Files/vim/vim61:$JAVA_HOME/bin:$ANT_HOME/bin:$CATALINA_HOME/bin:$MYSQL_HOME/bin

When I echo my PATH via a MS cmd window I get:
H:\echo %PATH%
C:\java\Sun\AppServer\BIN;C:\java\apache-ant-1.6.1\BIN;c:\mysql\bin;C:\java\j2sd
k1.4.2_04\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~
1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1;

So I would expect that Sun\AppServer entry to show up in my
Putty/Cygwin window.  Any ideas on this?

Second issue (this might should be a seperate email) is related to the
Cygwin shortcut that runs the cygwin.bat.  For some reason my
.bash_profile/.bashrc aren't getting excuted.  And even worse my $HOME
is very different.

In the MS cmd window (via cygwin shortcut) I get:
[EMAIL PROTECTED] [/home/erikweibust] $ cd
[EMAIL PROTECTED] [~] $ pwd
/cygdrive/c/java/source
[EMAIL PROTECTED] [~] $ echo $HOME
/cygdrive/c/java/source

And then in the putty window I get:
[EMAIL PROTECTED] [~] $ cd
[EMAIL PROTECTED] [~] $ pwd
/home/erikweibust
[EMAIL PROTECTED] [~] $ echo $HOME
/home/erikweibust
[EMAIL PROTECTED] [~] $

Anybody have any ideas?  I felt like these might be loosely related.

Thanks...

=
Erik Weibust
http://erik.weibust.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: autossh-1.2g-2

2004-08-18 Thread Schulman . Andrew




A new version of the autossh package is available in the Cygwin
distribution.

Changes in version 1.2g-2:
* Expanded /usr/share/doc/autossh/README.Cygwin, to describe the NT
service mode and how to use it with cygrunsrv.


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

Andrew Schulman.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread Matt Swift

I've verified on two machines running XP Pro with up-to-date Cygwin
installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1
breaks sshd when running with privilege separation (the default).
Clients (including ssh localhost) can not log into the Cygwin sshd.
Either turning off privilege separation in /etc/sshd_config or
downgrading and rebooting resolves the problem.

I have no further insight into this problem; I mainly want just to report it.

When a client tries to log in to 3.9p1-1 sshd, the -v -v -v output
leading up to the problem is:

debug2: channel 0: request shell
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd eof
debug2: channel 0: output open - drain
debug2: channel 0: rcvd close
debug2: channel 0: close_read
debug2: channel 0: input open - closed
debug3: channel 0: will not send data after close
debug1: getpeername: Socket operation on non-socket
debug1: do_cleanup
debug3: channel 0: will not send data after close
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain - closed
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1)

debug3: channel 0: close_fds r -1 w -1 e 6
Connection to 192.168.0.234 closed.
debug1: Transferred: stdin 0, stdout 0, stderr 37 bytes in 0.1 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 398.5
debug1: Exit status 255
[beth] swift

The corresponding Cygwin sshd -d -d -d output (from start to end)
is the following (I've deleted actual ssh keys from the output).  The
home directory of user swift is /cygdrive/c/swift rather than the
default /home/swift.

debug2: load_server_config: filename /etc/sshd_config
debug2: load_server_config: done config len = 266
debug2: parse_server_config: config /etc/sshd_config len 266
debug1: sshd version OpenSSH_3.9p1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-D'
debug1: rexec_argv[2]='-e'
debug1: rexec_argv[3]='-d'
debug1: rexec_argv[4]='-d'
debug1: rexec_argv[5]='-d'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 22 on 0.0.0.0.
Server listening on 0.0.0.0 port 22.
debug3: fd 4 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 7 config len 266
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug3: recv_rexec_state: entering fd = 5
debug3: ssh_msg_recv entering
debug3: recv_rexec_state: done
debug2: parse_server_config: config rexec len 266
debug1: sshd version OpenSSH_3.9p1
debug3: Not a RSA1 key file /etc/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: inetd sockets after dupping: 3, 3
Connection from 192.168.0.2 port 39493
debug1: Client protocol version 2.0; client software version OpenSSH_3.8.1p1 
Debian 1:3.8.1p1-4
debug1: match: OpenSSH_3.8.1p1 Debian 1:3.8.1p1-4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_3.9p1
debug2: fd 3 setting O_NONBLOCK
debug2: Network child is on pid 2716
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL 
PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,[EMAIL 
PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
debug2: 

RE: cygwin-perl: matching behaves weird

2004-08-18 Thread Igor Pechtchanski
Good guess, but the original RE didn't support any variations of 
whitespace, so it wouldn't have matched a multi-line string anyway...  
However, if the OP didn't provide the exact RE he used, he could try 
setting PERLIO=crlf in his environment and see if that helps.

One thing that he may also be missing is that the '/s' flag will retain 
all the characters, even though it runs the RE over one string, so that 
string may (and usually will) contain newlines, which have to be accounted 
for in the RE.
Igor
P.S. Oh, and http://cygwin.com/acronyms/#PCYMTNQREAIYR, even the list 
address.  Thanks.

On Wed, 18 Aug 2004, Wardman_Michael wrote:

 I wonder if the /s on the end is getting a newline problem somewhere?
 
 This might explain the Windows vs. Cygwin behaviour, as they can be
 configured to have different line endings.
 
 I've had to modify a lot of scripts to run under Cygwin by adding:
  | tr -d '\r'
 
 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Wednesday, 18 August 2004 11:49
 To: [EMAIL PROTECTED]
 Subject: cygwin-perl: matching behaves weird
 
 Now, this may be old news for many of you, but I'm new to cygwin, so please 
 don't shoot. I'd be happy if someone would post me a link to the solution.
 
 I'm doing quite strightforward matching using regular expressions in 
 perl (as you can see below) and the code used to work just fine on the 
 ActiveState perl, but behaves very strange with cygwin Perl:
 
 -
 unless ($page =~ /a href=\# onClick=window\.open\('(popBibTex.cfm\?.+?)',/s)
 -
 
 It simply does not match. I tried playing around, cuting certain suspicios 
 parts, and here is what I found out:
 
 -
 unless ($page =~ /on\Click=window\.open\('(popBibTex.cfm\?.+?)',/s)
 -
 
 this does match. (notice the \ before C)
 
 What's up? (::confused;)
 
 I'm runing Win_XP_Pro/SP2, just installed Cygwin (and all 
 tools/packages/modules that were available through the web install utility).

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Chris Shehan
Hello,

I am attempting to replace an automated ftp process with sftp. This ftp
process , which runs on a Windows 2000 server, grabs EDI files from our HPUX
11.0 server every 10 minutes and places then on the EDI Server. I would like
to modify this process to use sftp and use the SSH keys for password less
connections ..i.e. public key authentication.

So far I have installed and tested SSH on the HPUX 11.0 server. I have also
installed cygwin on the Windows 2000 server and preformed a successful test
using sftp. The next step is to setup the public key authentication so that
I can use sftp in the automated ftp process.

I have Google'd the net and searched the archives of this list but have not
been able to find any good documentation that shows me exactly what needs to
be done in order to get the authentication working in my environment (mix of
Windows and UNIX). So far I have been able to generate the private and
public keys for both servers as show below:

HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user
This command create the following files hp_sftp_user  hp_sftp_user.pub

Windows / CYGWIN - ssh -keygen -t dsa -P 
This was an interactive session and I was asked for the file names.
win2k_sftp and win2k_sftp.pub were generated.

** Please let me know if there are better ways to generate the above keys
..including any additional options I may need.

If the above mentioned keys are workable ... I now need a solution that will
allow me to put these files to use on both the HPUX and Windows servers so I
will be able to use password less connections .. which is especially need
for the scheduled ftp process running on Windows.

Thanks in advance for you help,
Chris Shehan




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Hannu E K Nevalainen wrote:

 Jarzombek, Svend wrote:
 
  I am new to cygwin and try to move some ksh scripts to it.
  I am lacking the read command, e. g. like in
  
  cd /directory
  ls | while read TEST
  do
   echo $TEST
  done
  
  Is the read command somewhere available? Up to now I wasn't able to
  find it. 
 
 ksh:
 $ type read
 read is a shell builtin
 
 Hmm... are you using it correctly?
 Type this at a shell prompt, enter for both lines.
 man ksh
 /^ *read \[
 
 As I'm not familiar with ksh, so:
 -- *bash* usage example --
 #!/bin/bash
 
 cd /
 ls | (
   while read TEST ;do
 echo -n $TEST 
   done
  )

Two points to note:

1) there's no need for the parentheses in the above expression -- in fact, 
they actually change the semantics, as the while will be invoked in a 
subshell.

2) the exact same command (with or without the parentheses) works in ksh, 
so I was unable to reproduce the OP's problem.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, neal somos wrote:

 Jarzombek, Svend asks ...
 
  Is the read command somewhere available? 
  Up to now I wasn't able to find it.
 
 The read command is supposedly a shell builtin.
 
 Strangely enough, the first time I tried the
 example given with ksh, I got the exact same response.
 
 However on later attempts, I got what was expected.
 I find this odd.

I'm sorry, I must be slow today...  Exactly which example did you try, and 
what response did you get, and what was expected?

Igor Pechtchanski
Cygwin pdksh maintainer
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread Corinna Vinschen
On Aug 18 10:30, Matt Swift wrote:
 I've verified on two machines running XP Pro with up-to-date Cygwin
 installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1
 breaks sshd when running with privilege separation (the default).
 Clients (including ssh localhost) can not log into the Cygwin sshd.
 Either turning off privilege separation in /etc/sshd_config or
 downgrading and rebooting resolves the problem.
 
 I have no further insight into this problem; I mainly want just to report it.

As a temporary measure, please add the -r option when starting sshd.
I haven't found the exact culprit so far, but the above flag will help.

Thanks for the report.  It's embarassing that I didn't find the error
myself since I had accidentally switched off privilege separation a few
days ago :-(


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote:
At 09:39 PM 8/17/2004, you wrote:
I'm having a problem with cron in this new environment. I cannot 
execute any of my own scripts in my ~/bin. I was also having problems 
executing even things in /tmp! So like a good little boy I decided to 
read the readme for cron again before asking here. Trouble is I have 
no cron readme!

I remember it was in /usr/doc/Cygwin but alas:
Cygwin docs should now be in /usr/share/doc/Cygwin. All packages are 
moving that direction.
Ah yes. I knew there was another place to look but all I could remember 
was /usr/doc. I'll have a look see when I get into work.

$ ls /usr/doc/cygwin
ctags-5.5.README* openssl-0.9.7d.README* whois-4.6.14-1.README*
ghostscript-7.05.README* procps-010801.README*
mc-4.6.0.README* rxvt-2.7.10.README*
So I figured Oops, guess I didn't install all the documentation and 
fired up setup.exe to download from the internet. I use 
ftp://planetmirror.com and when I attempt to do that I get:

(null) line 1537: parse error, unexpected COMMA, expecting STRING
(null) line 1537: unrecognized line 1537 (do you have the latest setup?)
(null) line 1537: unrecognized line 1537 (do you have the latest setup?)
(null) line 1537: unrecognized line 1537 (do you have the latest setup?)
Problem is I *do* have the latest version of setup! I just downloaded 
it again to make sure. Same error. Tried mirrors.kernel.org - same error!
I assume you've seen 
http://cygwin.com/ml/cygwin/2004-08/msg00587.html by now. If not, 
read through it. The problem is fixed.
Yes, saw it right after I posted this. Tried a quick download from 
planetmirror.com again and received the same error. I assumed the fixes 
was purqulating(sp?) and decided to try again today. Again, once I get 
into work...

As for my cron problem I can execute rudimentary commands such as ls, 
pwd and redirect the output to /tmp/debug.log. From that I can see 
that pwd tells me that I'm in /var/cron. The script I want to execute 
is under ~/bin (which is on a network share). I copied that script to 
/tmp and insured that it was set 777. Then I performed the following 
cron jobs:

18 17 * * * pwd  /tmp/debug.log 21
19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
21 17 * * * /tmp/myscript  /tmp/debug.log 21
Here's the result:
/var/cron
tabs
-rwxrwxrwx 1 TPAD3741 Domain U 5201 Aug 17 17:15 /tmp/myscript
/tmp/myscript never get's executed.
Sorry, can't really help here. There's just not enough information about
what your script does or what your environment for me to hazard a guess.
If you post more details or, better yet, a small test case, I can try it.
The simple test I did which just echos Hello World from a bash script
worked fine for me.
Well initially it was a Perl script that I'm trying to run through cron. 
But I then stripped it down to just:

#!/bin/bash
echo testme  /tmp/debug.log 21
Nothing additional got written into /tmp/debug.log.
--
Diplomacy - the art of letting someone have your way.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Ken Dibble
from
man ssh
-
The file $HOME/.ssh/authorized_keys lists the public keys that are per-
mitted for logging in.
ssh implements the RSA authentication protocol automatically.  The user
creates his/her RSA key pair by running ssh-keygen(1).  This stores the
private key in $HOME/.ssh/identity and stores the public key in
$HOME/.ssh/identity.pub in the user's home directory.  The user should
then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her 
home
directory on the remote machine (the authorized_keys file corresponds to
the conventional $HOME/.rhosts file, and has one key per line, 
though the
lines can be very long).  After this, the user can log in without 
giving
the password. 
-

My personal opinion is that the last line causes a bit of confusion for 
some users,
as giving a non-null passphrase when  the specified key is generated 
causes the user
to have to enter the passphrase (which can be  interpreted as a request for
the password).

this link may also provide some useful information
http://cricket.ecs.umass.edu/~czou/linux/backupSSH.html
Chris Shehan wrote:
Hello,
I am attempting to replace an automated ftp process with sftp. This ftp
process , which runs on a Windows 2000 server, grabs EDI files from our HPUX
11.0 server every 10 minutes and places then on the EDI Server. I would like
to modify this process to use sftp and use the SSH keys for password less
connections ..i.e. public key authentication.
So far I have installed and tested SSH on the HPUX 11.0 server. I have also
installed cygwin on the Windows 2000 server and preformed a successful test
using sftp. The next step is to setup the public key authentication so that
I can use sftp in the automated ftp process.
I have Google'd the net and searched the archives of this list but have not
been able to find any good documentation that shows me exactly what needs to
be done in order to get the authentication working in my environment (mix of
Windows and UNIX). So far I have been able to generate the private and
public keys for both servers as show below:
HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user
This command create the following files hp_sftp_user  hp_sftp_user.pub
Windows / CYGWIN - ssh -keygen -t dsa -P 
This was an interactive session and I was asked for the file names.
win2k_sftp and win2k_sftp.pub were generated.
** Please let me know if there are better ways to generate the above keys
..including any additional options I may need.
If the above mentioned keys are workable ... I now need a solution that will
allow me to put these files to use on both the HPUX and Windows servers so I
will be able to use password less connections .. which is especially need
for the scheduled ftp process running on Windows.
Thanks in advance for you help,
Chris Shehan
 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


[ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 3.9p1-1.

This is an official new release, based on the vanilla sources.

NOTE NOTE NOTE:

Thanks to an early bug report on the cygwin mailing list, I found that
you *must* add the -r option when starting the sshd daemon, if you want
to use privilege separation.  Either that, or disable privilege separation
in /etc/sshd_config by setting

  UsePrivilegeSeparation no


The official release message as of today:


OpenSSH 3.9 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.

OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.

We would like to thank the OpenSSH community for their continued
support to the project, especially those who contributed source and
bought T-shirts or posters.

We have a new design of T-shirt available, more info on
http://www.openbsd.org/tshirts.html#18 

For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu


Changes since OpenSSH 3.8:


* Added new IdentitiesOnly option to ssh(1), which specifies that it should
  use keys specified in ssh_config, rather than any keys in ssh-agent(1)

* Make sshd(8) re-execute itself on accepting a new connection. This security
  measure ensures that all execute-time randomisations are reapplied for each
  connection rather than once, for the master process' lifetime. This includes
  mmap and malloc mappings, shared library addressing, shared library mapping
  order, ProPolice and StackGhost cookies on systems that support such things

* Add strict permission and ownership checks to programs reading ~/.ssh/config
  NB ssh(1) will now exit instead of trying to process a config with poor
  ownership or permissions

* Implemented the ability to pass selected environment variables between the
  client and the server. See AcceptEnv in sshd_config(5) and SendEnv in
  ssh_config(5) for details

* Added a MaxAuthTries option to sshd(8), allowing control over the maximum
  number of authentication attempts permitted per connection

* Added support for cancellation of active remote port forwarding sessions.
  This may be performed using the ~C escape character, see Escape Characters
  in ssh(1) for details

* Many sftp(1) interface improvements, including greatly enhanced ls support
  and the ability to cancel active transfers using SIGINT (^C)

* Implement session multiplexing: a single ssh(1) connection can now carry
  multiple login/command/file transfer sessions. Refer to the ControlMaster
  and ControlPath options in ssh_config(5) for more information

* The sftp-server has improved support for non-POSIX filesystems (e.g. FAT)

* Portable OpenSSH: Re-introduce support for PAM password authentication, in
  addition to the keyboard-interactive driver. PAM password authentication
  is less flexible, and doesn't support pre-authentication password expiry but
  runs in-process so Kerberos tokens, etc are retained

* Improved and more extensive regression tests

* Many bugfixes and small improvements

Checksums:
==

- MD5 (openssh-3.9.tgz) = 93f48bfcc1560895ae53de6bfc41689b
- MD5 (openssh-3.9p1.tar.gz) = 8e1774d0b52aff08f817f3987442a16e


Reporting Bugs:
===

- please read http://www.openssh.com/report.html
  and http://bugzilla.mindrot.org/

OpenSSH is brought to you by Markus Friedl, Niels Provos, Theo de Raadt,
Kevin Steves, Damien Miller, Ben Lindstrom, Darren Tucker and Tim Rice.


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: setup: current: repeated offer of same update

2004-08-18 Thread Max Bowsher
[EMAIL PROTECTED] wrote:
libopenldap2-2-15 libopenldap2-2-15-2.2.15-1.tar.bz2 0

That line is corrupt.
I don't know how it got there, but delete it anyway.
That should hopefully solve the problem.
Max
Thank you, Max. I edited this line out of /etc/setup/installed.db, re-ran
setup and was offered the same update, took up the offer, and the line was
re-introduced to installed.db.
Then I edited out both libopenldap lines from installed.db and ran setup. 
I
was offered two updates and accepted both. This again re-introduced both
libopenldap.. lines into installed.db.

Happy Groundhog Day to all. It can't be just me. Can it?
Oops, no, it's an inadvisable choice of package name by the openldap package 
maintainer.

I'll post to cygwin-apps asking for it to be changed.
Max.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Andrew DeFaria wrote:

 Larry Hall wrote:
 
  At 09:39 PM 8/17/2004, you wrote:
  
   I'm having a problem with cron in this new environment. I cannot execute
   any of my own scripts in my ~/bin. I was also having problems executing
   even things in /tmp!
   
   [snip]
   
   As for my cron problem I can execute rudimentary commands such as ls, pwd
   and redirect the output to /tmp/debug.log. From that I can see that pwd
   tells me that I'm in /var/cron. The script I want to execute is under
   ~/bin (which is on a network share). I copied that script to /tmp and
   insured that it was set 777. Then I performed the following cron jobs:
   
   18 17 * * * pwd  /tmp/debug.log 21
   19 17 * * * ls  /tmp/debug.log 21
   20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
   21 17 * * * /tmp/myscript  /tmp/debug.log 21
   
   Here's the result:
   
   /var/cron
   tabs
   -rwxrwxrwx 1 TPAD3741 Domain U 5201 Aug 17 17:15 /tmp/myscript
   
   /tmp/myscript never get's executed.
  
  Sorry, can't really help here. There's just not enough information about
  what your script does or what your environment for me to hazard a guess.
  If you post more details or, better yet, a small test case, I can try it.
  The simple test I did which just echos Hello World from a bash script
  worked fine for me.
 
 Well initially it was a Perl script that I'm trying to run through cron. 
 But I then stripped it down to just:
 
 #!/bin/bash
 echo testme  /tmp/debug.log 21
 
 Nothing additional got written into /tmp/debug.log.

You have, of course, reviewed

 Problem reports:   http://cygwin.com/problems.html

and thought of attaching the output of cygcheck -svr, right?  Also, did 
you try cron_diagnose.sh (Google for it)?

I suspect some or all of your mounts may not be visible to cron...  Do 
your cron jobs above (i.e., 

19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21

) still work correctly after changing ls to /bin/ls?  Does changing 
/tmp/myscript to sh -c '/tmp/myscript' help any?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Igor Pechtchanski
 Sent: 18 August 2004 16:54

18 17 * * * pwd  /tmp/debug.log 21
19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
21 17 * * * /tmp/myscript  /tmp/debug.log 21

 19 17 * * * ls  /tmp/debug.log 21
 20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21


  I haven't been following, so PMFBI, but can I just point out that it may
well be necessary that the 21 should precede the  /tmp/debug.log if you
want stderr to actually end up in the log file


  BTW, uname -a; pwd; set; export might be a good diagnostic command to
add as a cron job isn't this almost certainly a
wrong-user-executing-the-job problem?


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote:

  -Original Message-
  From: cygwin-owner On Behalf Of Igor Pechtchanski
  Sent: 18 August 2004 16:54
 
 18 17 * * * pwd  /tmp/debug.log 21
 19 17 * * * ls  /tmp/debug.log 21
 20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
 21 17 * * * /tmp/myscript  /tmp/debug.log 21
 
  19 17 * * * ls  /tmp/debug.log 21
  20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
 
   I haven't been following, so PMFBI, but can I just point out that it may
 well be necessary that the 21 should precede the  /tmp/debug.log if you
 want stderr to actually end up in the log file

Nope, that part was correct.  If you put 21 before the  redirection, 
stderr will end up on stdout.  See the sh and bash manpages.

   BTW, uname -a; pwd; set; export might be a good diagnostic command to
 add as a cron job isn't this almost certainly a
 wrong-user-executing-the-job problem?

Huh?  uname -a should only be useful if there's more than one Cygwin 
version on the machine -- otherwise, the output should be identical for 
all users.  pwd is already there.  I don't see how set;export; is 
relevant at all, frankly...  Did you, by chance, mean id instead?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



OpenSP shared dir location

2004-08-18 Thread Sam Steingold
File xml.dcl on Linux (FC2) is a part of the package sgml-common and
resides in /usr/share/sgml/.
The same file on cygwin comes with OpenSP and lives in
/usr/share/OpenSP/.

Suggestion: rename /usr/share/OpenSP/ to /usr/share/sgml/
in the OpenSP package.

-- 
Sam Steingold (http://www.podval.org/~sds) running w2k
http://www.camera.org http://www.iris.org.il http://www.memri.org/
http://www.mideasttruth.com/ http://www.honestreporting.com
War doesn't determine who's right, just who's left.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



read command available?

2004-08-18 Thread neal somos
I literally cut and pasted a portion of Svend's post.
The portion I thought I used was ...

ls | while read TEST
do
 echo $TEST
done


I asked for 'ksh' and pasted.
I was totally flabbergasted when I got the
exact response Svend had posted.
-
Is the read command somewhere available? Up to now I wasn't able to find
it.
-

I was intrigued and tried it again, but this
time it worked properly producing the list
of expected file names.

And under sh and bash I would get the expected
list of file names.

That fact that it did not seem to reproduce on subsequent
attempts is puzzling.  While such things are possible
I begin to question my sanity when I have trouble
finding what could have printed that message.
Grepping through strings of everything in bin failed
to reveal where this might have come from.

Unfortunately I did one too many exits in the rxvt
shell window, and cannot even go back to ensure
I entered the commands I believe I entered.  
All subsequent attempts have been well behaved.

I fear that I may have been suffering from both
caffeine and sleep insufficiency and cut and pasted 
too much.  For the sake of my sanity I hope that someone 
else can reproduce this.  

neal



___
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: perl: cpan module's interactive mode fails

2004-08-18 Thread Gerrit P. Haase
Stephan wrote:


 Hi guys,

 I just ran perl -MCPAN -e shell and tried to install Bundle::LWP.

 But when it does Scanning cache /home/sp/.cpan/build for sizes, see 
 below, it chokes with (see output below):

 /usr/bin/tar: Skipping to next header
 /usr/bin/tar: Archive contains obsolescent base-64 headers
 gzip: stdin: invalid compressed data--crc error
 gzip: stdin: invalid compressed data--length error


 I removed all ~/.cpan stuff, tried it again, no difference.

 Does anybody have an idea what's going on?

 Thanks in advance for any pointers,

Of course I tried it before uploading the apckage, it works here with my
W2k and with XP Pro.  Sorry, cannot reproduce it.


-- 
=^..^= http://nyckelpiga.de/donate.html


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: read command available?

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, neal somos wrote:

 I literally cut and pasted a portion of Svend's post.
 The portion I thought I used was ...
 
 ls | while read TEST
 do
  echo $TEST
 done
 
 
 I asked for 'ksh' and pasted.
 I was totally flabbergasted when I got the exact response Svend had 
 posted.
 -
 Is the read command somewhere available? Up to now I wasn't able to find
 it.
 -
 
 I was intrigued and tried it again, but this time it worked properly 
 producing the list of expected file names.
 
 And under sh and bash I would get the expected list of file names.
 
 That fact that it did not seem to reproduce on subsequent attempts is 
 puzzling.  While such things are possible I begin to question my sanity 
 when I have trouble finding what could have printed that message. 
 Grepping through strings of everything in bin failed to reveal where 
 this might have come from.
 
 Unfortunately I did one too many exits in the rxvt shell window, and 
 cannot even go back to ensure I entered the commands I believe I 
 entered.  All subsequent attempts have been well behaved.
 
 I fear that I may have been suffering from both caffeine and sleep 
 insufficiency and cut and pasted too much.  For the sake of my sanity I 
 hope that someone else can reproduce this.

Hmm, looks like you must have grabbed those lines when you copied...  I 
just tried it, and got the expected file listing.  Go figure...
If someone *is* able to reproduce it, I'd be *very* interested in seeing a 
simple testcase(tm).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
 -Original Message-
 From: Igor Pechtchanski
 Sent: 18 August 2004 17:19

 On Wed, 18 Aug 2004, Dave Korn wrote:
 
   -Original Message-
   From: cygwin-owner On Behalf Of Igor Pechtchanski
   Sent: 18 August 2004 16:54
  
  18 17 * * * pwd  /tmp/debug.log 21
  19 17 * * * ls  /tmp/debug.log 21
  20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
  21 17 * * * /tmp/myscript  /tmp/debug.log 21
  
   19 17 * * * ls  /tmp/debug.log 21
   20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
  
I haven't been following, so PMFBI, but can I just point 
 out that it may
  well be necessary that the 21 should precede the  
 /tmp/debug.log if you
  want stderr to actually end up in the log file
 
 Nope, that part was correct.  If you put 21 before the  
 redirection, 
 stderr will end up on stdout.  See the sh and bash manpages.

  My bad.  GOK how I managed to misremember that, but I was sooo certain
that I'd had to painfully discover that they needed to be the other way
round myself once.  Guess I must have discovered it the way round you've got
it, after all.  I just tested redirection under cmd.exe and even that
behaves the same way, so I didn't even get it from M$-world.  Pardon my
confabulation.

BTW, uname -a; pwd; set; export might be a good 
 diagnostic command to
  add as a cron job isn't this almost certainly a
  wrong-user-executing-the-job problem?
 
 Huh?  uname -a should only be useful if there's more than 
 one Cygwin 
 version on the machine -- otherwise, the output should be 
 identical for 
 all users.  pwd is already there.  I don't see how set;export; is 
 relevant at all, frankly...  Did you, by chance, mean id instead?

  I meant id rather than uname, yes.  As for set; export, I don't see
how you can consider the execution environment to _not_ be relevant; it's
full of useful and even vital diagnostic information, such as $PATH, to name
but one

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Karl M
Hi All...
I didn't find -r in the man page. I have not had time to scan the sources 
:-(

What does it do?
Thanks,
...Karl

From: Corinna Vinschen
Subject: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1
Date: Wed, 18 Aug 2004 10:38:15 -0500 (CDT)
I've just updated the version of OpenSSH to 3.9p1-1.
This is an official new release, based on the vanilla sources.
NOTE NOTE NOTE:
Thanks to an early bug report on the cygwin mailing list, I found that
you *must* add the -r option when starting the sshd daemon, if you want
to use privilege separation.  Either that, or disable privilege separation
in /etc/sshd_config by setting
  UsePrivilegeSeparation no
The official release message as of today:

OpenSSH 3.9 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
We would like to thank the OpenSSH community for their continued
support to the project, especially those who contributed source and
bought T-shirts or posters.
We have a new design of T-shirt available, more info on
http://www.openbsd.org/tshirts.html#18
For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu
Changes since OpenSSH 3.8:

* Added new IdentitiesOnly option to ssh(1), which specifies that it 
should
  use keys specified in ssh_config, rather than any keys in ssh-agent(1)

* Make sshd(8) re-execute itself on accepting a new connection. This 
security
  measure ensures that all execute-time randomisations are reapplied for 
each
  connection rather than once, for the master process' lifetime. This 
includes
  mmap and malloc mappings, shared library addressing, shared library 
mapping
  order, ProPolice and StackGhost cookies on systems that support such 
things

* Add strict permission and ownership checks to programs reading 
~/.ssh/config
  NB ssh(1) will now exit instead of trying to process a config with poor
  ownership or permissions

* Implemented the ability to pass selected environment variables between 
the
  client and the server. See AcceptEnv in sshd_config(5) and SendEnv 
in
  ssh_config(5) for details

* Added a MaxAuthTries option to sshd(8), allowing control over the 
maximum
  number of authentication attempts permitted per connection

* Added support for cancellation of active remote port forwarding sessions.
  This may be performed using the ~C escape character, see Escape 
Characters
  in ssh(1) for details

* Many sftp(1) interface improvements, including greatly enhanced ls 
support
  and the ability to cancel active transfers using SIGINT (^C)

* Implement session multiplexing: a single ssh(1) connection can now carry
  multiple login/command/file transfer sessions. Refer to the 
ControlMaster
  and ControlPath options in ssh_config(5) for more information

* The sftp-server has improved support for non-POSIX filesystems (e.g. FAT)
* Portable OpenSSH: Re-introduce support for PAM password authentication, 
in
  addition to the keyboard-interactive driver. PAM password authentication
  is less flexible, and doesn't support pre-authentication password expiry 
but
  runs in-process so Kerberos tokens, etc are retained

* Improved and more extensive regression tests
* Many bugfixes and small improvements
Checksums:
==
- MD5 (openssh-3.9.tgz) = 93f48bfcc1560895ae53de6bfc41689b
- MD5 (openssh-3.9p1.tar.gz) = 8e1774d0b52aff08f817f3987442a16e
Reporting Bugs:
===
- please read http://www.openssh.com/report.html
  and http://bugzilla.mindrot.org/
OpenSSH is brought to you by Markus Friedl, Niels Provos, Theo de Raadt,
Kevin Steves, Damien Miller, Ben Lindstrom, Darren Tucker and Tim Rice.

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.
  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:
[EMAIL PROTECTED]
If you need more information on unsubscribing, start reading here:
http://sources.redhat.com/lists.html#unsubscribe-simple
Please read *all* of the information on unsubscribing that is available
starting at this URL.
--
Corinna Vinschen Cygwin DeveloperRed Hat, Inc.
_
Check out Election 2004 for up-to-date election news, plus voter tools and 
more! http://special.msn.com/msn/election2004.armx

--
Unsubscribe info:  

Re: mcedit start slowly lately

2004-08-18 Thread Pavel Tsekov
On Tue, 17 Aug 2004, Krzysztof Duleba wrote:

 Pavel Tsekov wrote:

  I'm experiencing somewhat strange behaviour of mcedit. It's been a week
  that before it's started, my HDD is working a lot, for about 1 second.
 It
  doesn't matter whether I want to edit some old file or just launch the
  editor with $ mcedit.
 
  Where do you start mcedit from - console, xterm, rxvt (X/noX) ?

 From bash.

  Is the DISPLAY environment variable set ?

 No. Should it be?

It does matter if you run MC from rxvt without X server. In this case
rxvt sets the DISPLAY variable though there is no actual X server
running. This fact puzzles MC which tries to connect to the nonexistent X
server resulting in a certain delay on startup.

Please, let me know if you notice the slowdown again - I'll try to help
you debug the problem.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Corinna Vinschen
On Aug 18 09:57, Karl M wrote:
 Hi All...
 
 I didn't find -r in the man page. I have not had time to scan the sources 
 :-(
 
 What does it do?

Switching off reexec'ing.

Corinna

 [...]
 * Make sshd(8) re-execute itself on accepting a new connection. This 
 security
   measure ensures that all execute-time randomisations are reapplied for 
 each
   connection rather than once, for the master process' lifetime. This 
 includes
   mmap and malloc mappings, shared library addressing, shared library 
 mapping
   order, ProPolice and StackGhost cookies on systems that support such 
 things

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote:

  -Original Message-
  From: Igor Pechtchanski
  Sent: 18 August 2004 17:19
 
  On Wed, 18 Aug 2004, Dave Korn wrote:
  
-Original Message-
From: cygwin-owner On Behalf Of Igor Pechtchanski
Sent: 18 August 2004 16:54
   
   18 17 * * * pwd  /tmp/debug.log 21
   19 17 * * * ls  /tmp/debug.log 21
   20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
   21 17 * * * /tmp/myscript  /tmp/debug.log 21
   
19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
   
 I haven't been following, so PMFBI, but can I just point out that 
   it may well be necessary that the 21 should precede the  
   /tmp/debug.log if you want stderr to actually end up in the log 
   file
  
  Nope, that part was correct.  If you put 21 before the  
  redirection, stderr will end up on stdout.  See the sh and bash 
  manpages.
 
   My bad.  GOK how I managed to misremember that, but I was sooo certain 
 that I'd had to painfully discover that they needed to be the other way 
 round myself once.  Guess I must have discovered it the way round you've 
 got it, after all.  I just tested redirection under cmd.exe and even 
 that behaves the same way, so I didn't even get it from M$-world.  
 Pardon my confabulation.
 
 BTW, uname -a; pwd; set; export might be a good diagnostic 
   command to add as a cron job isn't this almost certainly a 
   wrong-user-executing-the-job problem?
  
  Huh?  uname -a should only be useful if there's more than one Cygwin 
  version on the machine -- otherwise, the output should be identical 
  for all users.  pwd is already there.  I don't see how set;export; 
  is relevant at all, frankly...  Did you, by chance, mean id instead?
 
   I meant id rather than uname, yes.  As for set; export, I don't 
 see how you can consider the execution environment to _not_ be relevant; 
 it's full of useful and even vital diagnostic information, such as 
 $PATH, to name but one

Ah, my turn to play dumb.  I didn't realize that set;export will 
actually print out the environment and the exported names.  Moreover, I 
didn't realize it'll do so under /bin/sh as well.  Oh, well, ignore that 
last comment about set;export, please...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of Karl M
 Sent: 18 August 2004 17:58
 To: cygwin
 Subject: RE: [ANNOUNCEMENT] Updated: OpenSSH-3.9p1-1

[snip]

 I didn't find -r in the man page. I have not had time to scan 
 the sources 
 :-(
 
 What does it do?

  It snips overly-long quotes in email replies?

 Thanks,
 
 ...Karl

[...snip 177 lines of exact duplicate of the email which was sent only an
hour and a bit earlier...]

cheers, 
  DaveK

PS:   g
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Chris Shehan

Good Afternoon,

Thanks for your response. I have tried to work through both you answer and
the solution you provided in the web link. So far I am still unable to get
the passwordless connection to work.

Here is my setup:
Windows 2000 server. Windows user name is colibri. I have generated the RSA
keys which were created in the c:\Documents and Settings\colibri\.ssh
directory (id_rsa  id_rsa.pub).

The user that I wish to connect to on the HP UX server is applmgr. So I take
the id_rsa.pub file and copy it to the HPUX server. It was placed in the
/u02/app/applmgr/.ssh directly and named authorized_keys.

Supposedly once this is done I should be able to connect to the HPUX server
from the Windows server as applmgr via ssh or sftp (example : sftp
[EMAIL PROTECTED] ) without being asked for a password... correct? I am still
prompted for a password.

Or is this process assuming that I have identical users on both servers with
identical passwords?
I am sure this is a very simple setup and that I am missing something
simple.

Please help me clarify the situation and/or point out my problem.

Thanks again for you help,
Chris Shehan


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Ken Dibble
Sent: Wednesday, August 18, 2004 11:36 AM
To: cygwin
Subject: Re: Setting up SSH keys for password less connections for sftp


from
man ssh

-
 The file $HOME/.ssh/authorized_keys lists the public keys that are per-
 mitted for logging in.


ssh implements the RSA authentication protocol automatically.  The user
 creates his/her RSA key pair by running ssh-keygen(1).  This stores the
 private key in $HOME/.ssh/identity and stores the public key in
 $HOME/.ssh/identity.pub in the user's home directory.  The user should
 then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her
home
directory on the remote machine (the authorized_keys file corresponds to
 the conventional $HOME/.rhosts file, and has one key per line,
though the
 lines can be very long).  After this, the user can log in without
giving
 the password.
-

My personal opinion is that the last line causes a bit of confusion for
some users,
as giving a non-null passphrase when  the specified key is generated
causes the user
to have to enter the passphrase (which can be  interpreted as a request for
the password).

this link may also provide some useful information

http://cricket.ecs.umass.edu/~czou/linux/backupSSH.html


Chris Shehan wrote:

Hello,

I am attempting to replace an automated ftp process with sftp. This ftp
process , which runs on a Windows 2000 server, grabs EDI files from our
HPUX
11.0 server every 10 minutes and places then on the EDI Server. I would
like
to modify this process to use sftp and use the SSH keys for password less
connections ..i.e. public key authentication.

So far I have installed and tested SSH on the HPUX 11.0 server. I have also
installed cygwin on the Windows 2000 server and preformed a successful test
using sftp. The next step is to setup the public key authentication so that
I can use sftp in the automated ftp process.

I have Google'd the net and searched the archives of this list but have not
been able to find any good documentation that shows me exactly what needs
to
be done in order to get the authentication working in my environment (mix
of
Windows and UNIX). So far I have been able to generate the private and
public keys for both servers as show below:

HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user
This command create the following files hp_sftp_user  hp_sftp_user.pub

Windows / CYGWIN - ssh -keygen -t dsa -P 
This was an interactive session and I was asked for the file names.
win2k_sftp and win2k_sftp.pub were generated.

** Please let me know if there are better ways to generate the above keys
..including any additional options I may need.

If the above mentioned keys are workable ... I now need a solution that
will
allow me to put these files to use on both the HPUX and Windows servers so
I
will be able to use password less connections .. which is especially need
for the scheduled ftp process running on Windows.

Thanks in advance for you help,
Chris Shehan





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



gpgshell w/ cygwin gpg.exe?

2004-08-18 Thread phaedral
No luck with google or faq; I want to use gpgshell (mostly 'cause so
much of my mail is now going through gmail).  Is anyone out there
using gpgshell with the cygwin gpg, or am I going to have to install
the gnupg for windows separately?  Many thanks!
-- 
beau

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Igor Pechtchanski
Two things to check:

1) Is the ssh client actually using the keys (and same goes for the ssh 
server)?  Run ssh with the -v flag to check.  It's possible either the 
client or the server is rejecting the keys because of too-open permissions 
on them, or something.

2) Does your HPUX machine use Kerberos, AFS, DFS, or some other sort of 
external filesystem authentication mechanism?  If so, then you're POL, 
since the server won't be able to read the authorized_keys file until you 
authenticate, which creates a Catch-22.
Igor

On Wed, 18 Aug 2004, Chris Shehan wrote:

 Good Afternoon,
 
 Thanks for your response. I have tried to work through both you answer and
 the solution you provided in the web link. So far I am still unable to get
 the passwordless connection to work.
 
 Here is my setup:
 Windows 2000 server. Windows user name is colibri. I have generated the RSA
 keys which were created in the c:\Documents and Settings\colibri\.ssh
 directory (id_rsa  id_rsa.pub).
 
 The user that I wish to connect to on the HP UX server is applmgr. So I take
 the id_rsa.pub file and copy it to the HPUX server. It was placed in the
 /u02/app/applmgr/.ssh directly and named authorized_keys.
 
 Supposedly once this is done I should be able to connect to the HPUX server
 from the Windows server as applmgr via ssh or sftp (example : sftp
 [EMAIL PROTECTED] ) without being asked for a password... correct? I am still
 prompted for a password.
 
 Or is this process assuming that I have identical users on both servers with
 identical passwords?
 I am sure this is a very simple setup and that I am missing something
 simple.
 
 Please help me clarify the situation and/or point out my problem.
 
 Thanks again for you help,
 Chris Shehan
 
 
 -Original Message-
 From: Ken Dibble
 Sent: Wednesday, August 18, 2004 11:36 AM
 To: cygwin
 Subject: Re: Setting up SSH keys for password less connections for sftp
 
 from
 man ssh
 
 -
  The file $HOME/.ssh/authorized_keys lists the public keys that are per-
  mitted for logging in.
 
 
 ssh implements the RSA authentication protocol automatically.  The user
  creates his/her RSA key pair by running ssh-keygen(1).  This stores the
  private key in $HOME/.ssh/identity and stores the public key in
  $HOME/.ssh/identity.pub in the user's home directory.  The user should
  then copy the identity.pub to $HOME/.ssh/authorized_keys in his/her home
  directory on the remote machine (the authorized_keys file corresponds to
  the conventional $HOME/.rhosts file, and has one key per line, though the
  lines can be very long).  After this, the user can log in without giving
  the password.
 -
 
 My personal opinion is that the last line causes a bit of confusion for 
 some users, as giving a non-null passphrase when the specified key is 
 generated causes the user to have to enter the passphrase (which can be 
 interpreted as a request for the password).
 
 this link may also provide some useful information
 
 http://cricket.ecs.umass.edu/~czou/linux/backupSSH.html
 
 
 Chris Shehan wrote:
 
 Hello,
 
 I am attempting to replace an automated ftp process with sftp. This ftp 
 process , which runs on a Windows 2000 server, grabs EDI files from our 
 HPUX 11.0 server every 10 minutes and places then on the EDI Server. I 
 would like to modify this process to use sftp and use the SSH keys for 
 password less connections ..i.e. public key authentication.
 
 So far I have installed and tested SSH on the HPUX 11.0 server. I have 
 also installed cygwin on the Windows 2000 server and preformed a 
 successful test using sftp. The next step is to setup the public key 
 authentication so that I can use sftp in the automated ftp process.
 
 I have Google'd the net and searched the archives of this list but have 
 not been able to find any good documentation that shows me exactly what 
 needs to be done in order to get the authentication working in my 
 environment (mix of Windows and UNIX). So far I have been able to 
 generate the private and public keys for both servers as show below:
 
 HPUX 11.0 - ssh-keygen -t dsa -f hp_sftp_user
 This command create the following files hp_sftp_user  hp_sftp_user.pub
 
 Windows / CYGWIN - ssh -keygen -t dsa -P 
 This was an interactive session and I was asked for the file names.
 win2k_sftp and win2k_sftp.pub were generated.
 
 ** Please let me know if there are better ways to generate the above keys
 ..including any additional options I may need.
 
 If the above mentioned keys are workable ... I now need a solution that 
 will allow me to put these files to use on both the HPUX and Windows 
 servers so I will be able to use password less connections .. which is 
 especially need for the scheduled ftp process running on Windows.

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 

RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Larry Hall
At 06:52 AM 8/18/2004, Hannu wrote:
Larry Hall scribbled on Wednesday, August 18, 2004 1:10 AM:

 At 04:32 PM 8/17/2004, Hannu wrote:
 [EMAIL PROTECTED] i.e. Larry Hall, wrote:
 At 05:39 AM 8/17/2004, you as quoted by Larry - Fergus wrote:

 -zNIPz here and there-

snip

 While there _should_ be no requirements, one has to be realistic and
 recognize this possibly beeing a setup - or postinstall - malfunction
 triggered by the nonstandard install location.


 That would be a bug.  But since Fergus was asking whether Cygwin
 expected certain things in certain locations, the answer to that
 would be no.

Of course, that's the intention. Nothing said about that.

  If it weren't no, then anyone installing Cygwin to
 a drive other than C: would see problems.  The lack of email to this
 list on the matter is just one indication that Cygwin has no
 expectations of where things live.

The lack of messages might just as well be an indication of the number of
people actually trying this particular thing.

SIDENOTE: I've seen situations where a person attempting something similar
just gives up immediately, without any questions. Just the comment Crap! I
don't wanna bother more with it!. No help requested even though there are
several people knowledgable enough standing within arms reach.
 I've seen it not just once - and I must admit; I've done the same myself!
(Download free/shareware/whatever software; installation doesn't work -
scrap it, try another similarily promising package)


Sure, I can see that happening in a general sense with any software. But 
you're talking about generalities and (somewhat) philosophy.  I'm targeting
the question at hand.  I don't disagree with your assertions in general/
philosophically but I'm avoiding discussion along this line in this thread.



  The code itself would be another.

Hmm... I don't get this; is it a back reference to the bug-thing above?


What I meant was that if there were dependencies built in to Cygwin, they 
would show up in the code as well.  They don't.  


 ;-)

 Ahh, I *understand* this! ;-)


 If a postinstall script is making some such assumptions, I'd expect we
 would've heard quite a bit about that here too (or at
 cygwin-apps).

 Not all malfunctions/mishaps get reported - a report requires some time and
effort to put through; not to mention - the WJM attitude, at display
relatively often, plays part in this. Many people won't stand up against it.
 It is desirable to have *good* problem reports, but when you request higher
quality you also filter away some. It is a dilemma.


OK, let me clarify.  With the amount of people using Cygwin, some portion of 
those folks are going to install Cygwin somewhere other than C:\Cygwin.  If
there was a problem with doing that, we would have heard about it in some
volume (look at the volume of complaints we get about people not being able
to start Cygwin from 'cygwin.bat', for example).  My point is the 
premise that Cygwin requires, implicitly, some specific locations to work
is something that would be *very* noticeable and would generate some 
traffic volume on this and/or the cygwin-apps list.  And I would
have been one of the first to see the problem since I commonly install
Cygwin on other drives and in other directories.  So, with my original 
response, I was simply stating that the premise of the inquiry was false
and that something else locally is responsible for the behavior Fergus 
sees.  I think that's good and useful information and quite on topic
(Fergus and others are free to make their own determination of course! ;-) )



FYI: My current employment is all about customer support; *I* _must_ handle
those imprecise and badly phrased problem reports too; eventually the real
problem gets revealed through the linguistic mist. (many .ro/.ru/.ba/.tw top
domains emerge here -i.e. ppl not so used to english)


Yep, it's a tough job, though I would say Fergus's original question is  
reasonably phrased and a fine question as far as it goes.  But since the 
information provided only goes so far, I could not provide any additional 
feedback that might help him figure out what else could be causing the
problem reported.  Following from that, as I said before, I completely 
agree with your advice to read http://cygwin.com/problems.html as the 
next step.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Setting up SSH keys for password less connections for sftp

2004-08-18 Thread Ken Dibble
log in to the HPUX box as applmgr and run ssh-keygen
as follows
ssh-keygen -t rsa -N 
the quotes are important as this gives you a null passphrase
It will generate id_rsa and id_rsa.pub files in $HOME/applmgr/.ssh/
copy $HOME/applmgr/.ssh/id_rsa.pub to $HOME/applmgr/.ssh/ authorized_keys2
move $HOME/applmgr/.ssh/id_rsa to the W2K box
as
c:\Documents and Settings\colibri\.ssh\applmgr_id_rsa
on the W2K Box
set the permissions on the applmgr_id_rsa file to u=rw, g=none,o=none
by
chmod 0600 .ssh/applmgr_id_rsa
ssh -i applmgr_id_rsa [EMAIL PROTECTED]
If I recall,  the first time it prompts you for a password and generates 
the known hosts file.

Thereafter it should be passwordless.
The id_rsa file does not have to be named applmgr_id_rsa,
I only did that for clarity, just make sure the filename matches the 
filename given by the -i option to ssh

It's been a while since I've done this, but this is correct to the best 
of my memory.

Chris Shehan wrote:
Good Afternoon,
Thanks for your response. I have tried to work through both you answer and
the solution you provided in the web link. So far I am still unable to get
the passwordless connection to work.
Here is my setup:
Windows 2000 server. Windows user name is colibri. I have generated the RSA
keys which were created in the c:\Documents and Settings\colibri\.ssh
directory (id_rsa  id_rsa.pub).
The user that I wish to connect to on the HP UX server is applmgr. So I take
the id_rsa.pub file and copy it to the HPUX server. It was placed in the
/u02/app/applmgr/.ssh directly and named authorized_keys.
Supposedly once this is done I should be able to connect to the HPUX server
from the Windows server as applmgr via ssh or sftp (example : sftp
[EMAIL PROTECTED] ) without being asked for a password... correct? I am still
prompted for a password.
Or is this process assuming that I have identical users on both servers with
identical passwords?
I am sure this is a very simple setup and that I am missing something
simple.
Please help me clarify the situation and/or point out my problem.
Thanks again for you help,
Chris Shehan
 

 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Setup.ini has an error on all the mirrors!!! Please rectify asap.

2004-08-18 Thread Emmanuel E
Setup.ini has an unwanted comma in line 1537.
The cygwin setup utility fails on parsing line 1537.
Line 1537 should read requires: cygwin e2fsprogs and not requires:
cygwin, e2fsprogs.
Could someone kindly rectify this at the earliest? All the cygwin mirrors
are facing this problem.

Thanks and regards,
Emmanuel
emmanuel_e.tripod.com


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: perl: cpan module's interactive mode fails

2004-08-18 Thread Dave Korn
 -Original Message-
 From: cygwin-owner  On Behalf Of Stephan Petersen
 Sent: 18 August 2004 14:41

 Hi guys,
 
 I just ran perl -MCPAN -e shell and tried to install Bundle::LWP.
 
 But when it does Scanning cache /home/sp/.cpan/build for sizes, see 
 below, it chokes with (see output below):
 
 /usr/bin/tar: Skipping to next header
 /usr/bin/tar: Archive contains obsolescent base-64 headers
 gzip: stdin: invalid compressed data--crc error
 gzip: stdin: invalid compressed data--length error
 
 
 I removed all ~/.cpan stuff, tried it again, no difference.
 
 Does anybody have an idea what's going on?


  I've sometimes seen those error messages.  In my case, they've always been
caused by attempting to on-the-fly-gunzip and untar by using tar -xz a
file that is in fact just an ordinary tar and has already been gunzip'ed
separately.

  My WAG is that this is happening because there are some ftp servers that
if you download a .gz file from them, they uncompress it in transmission.
Yes, I know, that sounds like a really daft idea and in fact it is: Oh,
this file has been compressed to make it quicker to transmit: so let's
uncompress it at the server and send the whole thing to the client.  D'oh.
A nice example of a feature that seems useful at first sight but is in fact
not something you're ever likely to want to actually do in practice

  So, my first suggestion would be to take a quick look at the file with cat
or less and see if it's already been gunziped and just looks like a plain
(ascii text) tar file.  That would diagnose it; how you'd go about fixing it
(remove the .gz from the extension?  recompress it yourself?  persuade the
CPAN install process to download it from a less 'helpful' ftp site?) is
another question.

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: cygwin-perl: matching behaves weird

2004-08-18 Thread Dave Korn

Just FYI:

 -Original Message-
 From: cygwin-owner On Behalf Of Wardman_Michael
 Sent: 18 August 2004 07:40
 To: V.MIRCEVSKI
 Cc: cygwin

^  This is the correct way to
http://cygwin.com/acronyms/#PCYMTNQREAIYR.
[snip]

 This might explain the Windows vs. Cygwin behaviour, as they can be
 configured to have different line endings.
 
 I've had to modify a lot of scripts to run under Cygwin by adding:
  | tr -d '\r'
 
 -Original Message-
 From: cygwin-ownerXXXcygwinXXXcom [mailto:cygwinXXXownerXXXcygwinXXXcom]
On Behalf Of

  ^ This one you forgot to do altogether; I've replaced the
critical bits with XXX myself.  Although the list has reasonable spam
filters, it still results in more spam getting sent to the mailer and more
load on the mail server.

 V.x [deleted an at symbol here] soton.ac.uk

 ^^  If this gets harvested, although V. MIRCEVSKI won't receive
any spam sent to it, it still contributes to the load on soton university's
servers.

 Sent: Wednesday, 18 August 2004 11:49
 To: cygwinXXXcygwinXXXcom

^^  Again, you forgot this one altogether.

  The correct way to munge an email address is always to mangle the bit
after the at sign.  You can mangle the bit before it as well if you like,
but if you don't mangle the bit afterward, you don't reduce the amount of
internet traffic from the spammers any.  For more info, see

http://www.google.com/search?hl=enie=UTF-8q=how+to+munge+an+email+address

cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Dave Korn
 -Original Message-
 From: cygwin-owner On Behalf Of fergus
 Sent: 17 August 2004 10:40

 In this case h:\MyOS\ was tried as the installation directory 
 for Cygwin,
 and failed.
 
 Sorry, I wasn't there, so can't describe the nature of the 
 failure. There
 may have been significant user confusion. But, could the 
 failure have been
 due either to the lack of a c:\WINDOWS\ directory or the fact that the
 machine was operated from H:? (Or both.)

  Totally off-the-wall WAG: did it get installed to one drive, then
half-uninstalled by deleting the dir (but neglecting to remove the
mountpoint data in the registry), and then perhaps reinstalled to a now
non-default location which got confused by the unrelated mountpoint info?
It's always a possibility.


cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: igawk problem

2004-08-18 Thread Hans Horn
Hi Igor,

thanks for all your insightful advice.

However, none of your suggestions work ootb.

This one doesn't do anything:

 tmpname=`mktemp`
 gawk -- $expand_prog /dev/stdin EOF $tmpname
 $program
 EOF
 eval gawk $opts -- -f $tmpname '$@' \
   rm -f $tmpname

If I understand the gawk man page right, -- is used to indicate the end of
the gawk arg list.
So the order of the args must be changed to

gawk $opts -f $tmpname -- '$@'  rm -f $tmpname

This happens to work - even under aix!

The next one gives xargs: argument line too long :

 gawk -- $expand_prog /dev/stdin EOF | eval xargs -0i gawk $opts
 -- {} '$@' $program
 EOF

You suggested in one of your earlier replies to submit this as a fix
upstream. How does one do that?
Would you mind doing it instead? After all, you were really the one that
came up with a solution.

greets,
H.





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: igawk problem

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Hans Horn wrote:

 Hi Igor,
 
 thanks for all your insightful advice.
 
 However, none of your suggestions work ootb.

Hans,

None of the suggestions were tested.  Sorry for missing the -- in the 
arg list -- I should have been more careful.

 This one doesn't do anything:
 
  tmpname=`mktemp`
  gawk -- $expand_prog /dev/stdin EOF $tmpname
  $program
  EOF
  eval gawk $opts -- -f $tmpname '$@' \
rm -f $tmpname
 
 If I understand the gawk man page right, -- is used to indicate the end of
 the gawk arg list.
 So the order of the args must be changed to
 
 gawk $opts -f $tmpname -- '$@'  rm -f $tmpname
 
 This happens to work - even under aix!

Great.  As I remarked in a later e-mail to Yitzchak, using xargs would be 
equivalent to calling the command from the shell in terms of handling long 
arguments, anyway, so strike that solution.  The mktemp ones seems 
best for all intents and purposes.  If you're *sure* that the script won't 
be used with stdin, you could try the (suitably modified) third solution, 
i.e.,

gawk -- $expand_prog /dev/stdin EOF | eval gawk $opts -f- -- '$@'
$program
EOF

(that pesky -- thing again).

 The next one gives xargs: argument line too long :
 
  gawk -- $expand_prog /dev/stdin EOF | eval xargs -0i gawk $opts
  -- {} '$@' $program
  EOF
 
 You suggested in one of your earlier replies to submit this as a fix
 upstream. How does one do that?

Well, hopefully, it'll be enough to have posted the solution here, so that 
the gawk maintainer (Corinna) picks it up and, if she likes it, pushes it 
upstream...

 Would you mind doing it instead? After all, you were really the one that
 came up with a solution.

We'll see what Corinna says.  The above solution does introduce a 
dependency on mktemp that the gawk maintainers may not wish...
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing.  -- Dr. Jubal Harshaw

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Shankar Unni
Charles Plager wrote:
Microsoft is getting ready to push out SP2 via their automatic 
update.  What experiences have people had with using cygwin applications 
with sp2 installed (particularly with the improved firewall)?
I've been running SP2 (final network admin install) for the last week. 
No problems with ordinary usage.

I don't run any network daemons like FTPd or sshd, but even for them, 
the only thing you have to do is to open a firewall port (or allow the 
program to listen on any port - there are two ways to punch holes in the 
Windows firewall).

Note that the default mode of the FTP client will cause one of these 
port use warnings to pop up from Windows, because in its regular mode 
(i.e. not PASV), when you GET a file using FTP, the client actually 
listens on a port, and the server tries to open connection to push the 
data. Again, all you have to when Windows pops up the program is trying 
to open port dialog, is to say OK once.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: igawk problem

2004-08-18 Thread Hans Horn
Hi Igor.

 We'll see what Corinna says.  The above solution does introduce a
 dependency on mktemp that the gawk maintainers may not wish...
 Igor

yes indeed - on my aix box there was no mktemp - I had to roll my own.

Is mktemp part of any of the core packages ? If yes, which one?

H. 




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread David Rothenberger
On 8/18/2004 8:23 AM, Corinna Vinschen wrote:
On Aug 18 10:30, Matt Swift wrote:
I've verified on two machines running XP Pro with up-to-date Cygwin
installations that upgrading from openssh 3.8.1p1-1 to openssh 3.9p1-1
breaks sshd when running with privilege separation (the default).
Clients (including ssh localhost) can not log into the Cygwin sshd.
Either turning off privilege separation in /etc/sshd_config or
downgrading and rebooting resolves the problem.
As a temporary measure, please add the -r option when starting sshd.
I haven't found the exact culprit so far, but the above flag will help.
Thanks for the report.  It's embarassing that I didn't find the error
myself since I had accidentally switched off privilege separation a few
days ago :-(
I did not experience this problem when I upgraded and I thought that I 
had privilege separation enabled.  Is there any easy way to tell if it 
is on or not?

--
David Rothenbergerspammer? - [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


socket() call failing?

2004-08-18 Thread Jay Fenlason
I've been trying to debug why Amanda won't work under cygwin for me
any more, and I've traced it down to a socket() call in the sendbackup
program.  strace shows the following (massively snipped)

  709  258623 [main] sendbackup 628 cygwin_socket: socket (2, 1, 6)
79416  338039 [main] sendbackup 628 wsock_init: res 0
  281  338320 [main] sendbackup 628 wsock_init: wVersion 514
  140  338460 [main] sendbackup 628 wsock_init: wHighVersion 514
  352  338812 [main] sendbackup 628 wsock_init: szDescription WinSock 2.0
  147  338959 [main] sendbackup 628 wsock_init: szSystemStatus Running
  134  339093 [main] sendbackup 628 wsock_init: iMaxSockets 0
  135  339228 [main] sendbackup 628 wsock_init: iMaxUdpDg 0
  138  339366 [main] sendbackup 628 wsock_init: lpVendorInfo 0
 8525  347891 [main] sendbackup 628 __set_winsock_errno: cygwin_socket:602 - winsock 
error 10106 - errno 1
  263  348154 [main] sendbackup 628 cygwin_socket: -1 = socket (2, 1, 6)

but I've no clue how to debug further than this.  The socket call
socket ( PF_INET, SOCK_STREAM, IPPROTO_TCP )
looks OK to me. . .

-- JF

P.S.  strace -o foo ./amandad.exe will silently run /bin/amanda.exe
instead of the one in your current directory.  Perhaps the man page
needs a stronger warning about legal pathnames for executables. :-)


Cygwin Configuration Diagnostics

Current System Time: Wed Aug 18 15:20:53 2004



Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4



Path:   C:\cygwin\usr\X11R6\bin

C:\cygwin\usr\local\bin

C:\cygwin\bin

C:\cygwin\bin

c:\Perl\bin\

c:\WINNT\system32

c:\WINNT

c:\WINNT\System32\Wbem

C:\cygwin\bin



Output from C:\cygwin\bin\id.exe (nontsec)

UID: 500(Administrator) GID: 513(None)

513(None)



Output from C:\cygwin\bin\id.exe (ntsec)

UID: 500(Administrator) GID: 513(None)

513(None)   544(Administrators)

545(Users)



SysDir: C:\WINNT\system32

WinDir: C:\WINNT



HOME = `C:\cygwin\home\Administrator'

MAKE_MODE = `unix'

PWD = `/home/Administrator/amanda-2.4.4p3/common-src'

USER = `Administrator'



ALLUSERSPROFILE = `C:\Documents and Settings\All Users'

APPDATA = `C:\Documents and Settings\Administrator\Application Data'

CLASSPATH = `;'

COMMONPROGRAMFILES = `C:\Program Files\Common Files'

COMPUTERNAME = `FENLASON-LAPTOP'

COMSPEC = `C:\WINNT\system32\cmd.exe'

HOMEDRIVE = `C:'

HOMEPATH = `\Documents and Settings\Administrator'

LOGONSERVER = `\\FENLASON-LAPTOP'

MANPATH = `:/usr/ssl/man:/usr/X11R6/man'

NUMBER_OF_PROCESSORS = `1'

OLDPWD = `/home/Administrator/amanda-2.4.4p3/client-src'

OS2LIBPATH = `C:\WINNT\system32\os2\dll;'

OS = `Windows_NT'

PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'

PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'

PROCESSOR_ARCHITECTURE = `x86'

PROCESSOR_IDENTIFIER = `x86 Family 6 Model 8 Stepping 1, GenuineIntel'

PROCESSOR_LEVEL = `6'

PROCESSOR_REVISION = `0801'

PROGRAMFILES = `C:\Program Files'

PROMPT = `$P$G'

PS1 = `\[\033]0;\w\007

[EMAIL PROTECTED] \[\033[33m\w\033[0m\]

$ '

SHLVL = `1'

SYSTEMDRIVE = `C:'

SYSTEMROOT = `C:\WINNT'

TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'

TERM = `cygwin'

TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'

USERDOMAIN = `FENLASON-LAPTOP'

USERNAME = `Administrator'

USERPROFILE = `C:\Documents and Settings\Administrator'

WINDIR = `C:\WINNT'

_ = `/usr/bin/cygcheck'

POSIXLY_CORRECT = `1'



HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

  (default) = `/cygdrive'

  cygdrive flags = 0x0022

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

  (default) = `C:\cygwin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

  (default) = `C:\cygwin/bin'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib

  (default) = `C:\cygwin/lib'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts

  (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts'

  flags = 0x000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options



a:  fd   N/AN/A

c:  hd  FAT32  11496Mb  53% CPUN   WINDOWS2000

d:  cd   N/AN/A



C:\cygwin  / system  binmode

C:\cygwin/bin  /usr/bin  system  binmode

C:\cygwin/lib  /usr/lib  system  binmode

C:\cygwin\usr\X11R6\lib\X11\fonts  /usr/X11R6/lib/X11/fonts  system  binmode

.  /cygdrive   

Re: Setup.ini has an error on all the mirrors!!! Please rectify asap.

2004-08-18 Thread Max Bowsher
Emmanuel E wrote:
Setup.ini has an unwanted comma in line 1537.
The cygwin setup utility fails on parsing line 1537.
Line 1537 should read requires: cygwin e2fsprogs and not requires:
cygwin, e2fsprogs.
Could someone kindly rectify this at the earliest? All the cygwin mirrors
are facing this problem.
If you had checked the archives, you would have noticed that this had 
already been reported and fixed, and merely requires time for mirrors to 
resync.

Max.
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Cygwin function for getting the current directory?

2004-08-18 Thread Mikael Åsberg
What's a Cygwin-function for getting the current directory? I don't want to 
use Win32's GetCurrentDirectory(), becuase I am developing a program that I 
want to be able to port to Linux with smallest possible effort.
What part of Cygwin's documentation have I failed to notice since I couldn't 
answer this question myself?

Thanks for any help!
/ M 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Problem linking with ODBC

2004-08-18 Thread da
I'm getting undefined references when trying to link with libodbc32.a that 
comes with cygwin:

---

Building target: libTest.so
g++ -shared -o libTest.so testdb.o -lodbc32
testdb.o(.text+0x40): In function `_Z3foov':
/cygdrive/c/Projects/test/source/Debug/../testdb.cpp:7: undefined reference to 
`_SQLConnect'
collect2: ld returned 1 exit status
make: *** [libTest.so] Error 1

---

Any idea why _SQLConnect is unresolved?

Thanks,

-- da





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin function for getting the current directory?

2004-08-18 Thread Ken Dibble
I am assuming that English is not your first language.
Cygwin-function doesn't really have a meaning.
Cygwin is a POSIX emulation layer for Windows.
I am inferring from the phrase Win32's GetCurrentDirectory()
that you are programming in some compiled language, most likely C or C++.
If the above assumptions are true then you probably need to download 
some development documentation.
You probably want the man page for getcwd().

A good place to start reading would be the cygwin website.  Especially 
parts about problems, asking questions,
the cygwin API, and programming questions.

Good Luck
Mikael Åsberg wrote:
What's a Cygwin-function for getting the current directory? I don't 
want to use Win32's GetCurrentDirectory(), becuase I am developing a 
program that I want to be able to port to Linux with smallest possible 
effort.
What part of Cygwin's documentation have I failed to notice since I 
couldn't answer this question myself?

Thanks for any help!

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Cygwin function for getting the current directory?

2004-08-18 Thread Mikael Åsberg
Thanks for the reply, Ken. I am indeed programming in a compiled language, 
C++ to be more specific. And, yes, English is my second language. Thanks for 
pointing out the POSIX fucntion getcwd() to me, it seems to be just what I 
was looking for. I didn't have a man page for it, even though I think I 
installed all documentation for Cygwin. Maybe I missed some package or maybe 
it's missing, it doesn't matter very much since there are plenty of online 
man pages.

But Cygwin doesn't emulate all of Posix, only parts of it, right?
/ M 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


RE: Can I install Cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Hannu E K Nevalainen

[EMAIL PROTECTED] i.e. Larry Hall, wrote:
 At 06:52 AM 8/18/2004, Hannu wrote:
 Larry Hall scribbled on Wednesday, August 18, 2004 1:10 AM:

 At 04:32 PM 8/17/2004, Hannu wrote:
 [EMAIL PROTECTED] i.e. Larry Hall, wrote:
 At 05:39 AM 8/17/2004, you as quoted by Larry - Fergus wrote:

 -zNIPz here and there-

 snip

 While there _should_ be no requirements, one has to be realistic
 and recognize this possibly beeing a setup - or postinstall -
 malfunction triggered by the nonstandard install location.


 That would be a bug.  But since Fergus was asking whether Cygwin
 expected certain things in certain locations, the answer to that
 would be no.

 Of course, that's the intention. Nothing said about that.

  If it weren't no, then anyone installing Cygwin to
 a drive other than C: would see problems.  The lack of email to this
 list on the matter is just one indication that Cygwin has no
 expectations of where things live.

 The lack of messages might just as well be an indication of the
 number of people actually trying this particular thing.

 SIDENOTE: I've seen situations where a person attempting something
 similar just gives up immediately, without any questions. Just the
 comment Crap! I don't wanna bother more with it!. No help
 requested even though there are several people knowledgable enough
 standing within arms reach.
 I've seen it not just once - and I must admit; I've done the same
 myself! (Download free/shareware/whatever software; installation
 doesn't work - scrap it, try another similarily promising package)


 Sure, I can see that happening in a general sense with any software.
 But you're talking about generalities and (somewhat) philosophy.  I'm
 targeting the question at hand.  I don't disagree with your
 assertions in general/ philosophically but I'm avoiding discussion
 along this line in
 this thread.



  The code itself would be another.

 Hmm... I don't get this; is it a back reference to the bug-thing
 above?


 What I meant was that if there were dependencies built in to Cygwin,
 they would show up in the code as well.  They don't.

 Right :-)

 ;-)

 Ahh, I *understand* this! ;-)


 If a postinstall script is making some such assumptions, I'd expect
 we would've heard quite a bit about that here too (or at
 cygwin-apps).

 Not all malfunctions/mishaps get reported - a report requires some
 time and effort to put through; not to mention - the WJM attitude,
 at display relatively often, plays part in this. Many people won't
 stand up against it. It is desirable to have *good* problem reports,
 but when you request higher quality you also filter away some. It is
 a dilemma.


 OK, let me clarify.  With the amount of people using Cygwin, some
 portion of those folks are going to install Cygwin somewhere other
 than C:\Cygwin.  If there was a problem with doing that, we would
 have heard about it in some volume (look at the volume of complaints
 we get about people not being able
 to start Cygwin from 'cygwin.bat', for example).

True, I have seen those. Very similar now as you mention it.
Which lessens the likelyhood of my SIDENOTE above. Sigh... ;-)

  My point is the
 premise that Cygwin requires, implicitly, some specific locations to
 work is something that would be *very* noticeable and would generate
 some traffic volume on this and/or the cygwin-apps list.

 And your point is very clear, no objections from my side.
There is still one thing that _might_ cause problems; setup/cygwin
interactions with user and/or administrator enforced settings. This would
still fall into what I wrote about above.

 And I would
 have been one of the first to see the problem since I commonly install
 Cygwin on other drives and in other directories.

 Right... I'm not doing a plain install very often I have to admit. Though I
always end up doing something nonstandard. (i.e. running the same install
from several OS'es, machines, from an unusual place... - which can be taken
as a sign of how well cygwin actually works in this regard ;-P  )

  So, with my original
 response, I was simply stating that the premise of the inquiry was
 false and that something else locally is responsible for the behavior
 Fergus sees.  I think that's good and useful information and quite on
 topic (Fergus and others are free to make their own determination of
 course! ;-) )

 ..., though I would say Fergus's original question
 is reasonably phrased and a fine question as far as it goes.

 Agreed... no shadows fall on him. :-)


/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: read command available?

2004-08-18 Thread Hannu E K Nevalainen
Igor wrote:
 On Wed, 18 Aug 2004, Hannu E K Nevalainen wrote:
 As I'm not familiar with ksh, so:
 -- *bash* usage example --
 #!/bin/bash

 cd /
 ls | (
   while read TEST ;do
 echo -n $TEST
   done
  )

 Two points to note:

 1) there's no need for the parentheses in the above expression --
 in fact,
 they actually change the semantics, as the while will be invoked in
 a subshell.

Sorry, bash semantics isn't changed (ksh might be another case, as it's man
page states). bash uses a subshell for the 'while' no matter what you do -
this is obviously considered some kind of optimization, -stupidity IMO (one
has to go to extremes to catch what has been read). I found this out - the
hard way.

Typing the parantheses makes it clear what actually happens; that's why
they're there in the above snippet.

Add a last line of  echo After loop: $TEST  above and you'll see the TEST
variable beeing unset; i.e. it was used in a subshell (otherwise it would
hold the last file or dir name).


 2) the exact same command (with or without the parentheses) works in
 ksh, so I was unable to reproduce the OP's problem.

So does it for me. I never tried it straight OOTB, bugger.


/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems--72--

** mailing list preference; please keep replies on list **

-- printf(LocalTime: UTC+%02d\n,(DST)? 2:1); --
--END OF MESSAGE--


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Windows XP SP2 - anybody tried it yet?

2004-08-18 Thread Avery Bunker
I had problems with KDE. The firewall blocked it so I could not start KDE. 
After I took off Service Pack 2 it ran just fine. I looked at the firewall 
but not being a KDE expert had no clue on what ports needed to be added and 
which ones did not. It did add two services into the firewall that KDE used 
but ot still would not start. It would freeze on the splash screen.


From: Shankar Unni [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Windows XP SP2 - anybody tried it yet?
Date: Wed, 18 Aug 2004 11:50:17 -0700
Charles Plager wrote:
Microsoft is getting ready to push out SP2 via their automatic 
update.  What experiences have people had with using cygwin applications 
with sp2 installed (particularly with the improved firewall)?
I've been running SP2 (final network admin install) for the last week. No 
problems with ordinary usage.

I don't run any network daemons like FTPd or sshd, but even for them, the 
only thing you have to do is to open a firewall port (or allow the program 
to listen on any port - there are two ways to punch holes in the Windows 
firewall).

Note that the default mode of the FTP client will cause one of these port 
use warnings to pop up from Windows, because in its regular mode (i.e. not 
PASV), when you GET a file using FTP, the client actually listens on a 
port, and the server tries to open connection to push the data. Again, all 
you have to when Windows pops up the program is trying to open port 
dialog, is to say OK once.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/
_
On the road to retirement? Check out MSN Life Events for advice on how to 
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


SSHD problems

2004-08-18 Thread Anakin SkyWalker
Hi everyone,

  I've been looking for information about installing
sshd under windows 2000 server and lots of papers show
up as howtos and faqs and troubleshootings. I tried
every single one of those and it doesn't work. My
question now isn't how to install it successfully, but
how to remove it completely from my w2k installation.
It's under services @ administrative resources and I
want to remove it from my registry and any other
entries its into. So, after that, I'll try from the
very zero ground to achieve this installation.
  Please, anyone can help me with this?

Thanks in advance.



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: strange login behavior

2004-08-18 Thread Larry Hall
At 10:14 AM 8/18/2004, you wrote:
I am experiencing some strange login behavior.  First, some bachground
on my situation.  I prefer the putty terminal over the MS cmd window
that cygwin.bat uses.  So I use putty and ssh into my cygwin account.

Two problems.  One, when I ssh into my acct I'm not getting the latest
PATH entries I've entered via Windows.  I'll show some of my .bashrc:

JAVA_HOME=~/java/j2sdk1.4.2_04
ANT_HOME=~/java/apache-ant-1.6.1
CATALINA_HOME=~/java/jakarta-tomcat-5.0.25
MYSQL_HOME=~/mysql

PATH=$PATH:/cygdrive/c/Program\
Files/vim/vim61:$JAVA_HOME/bin:$ANT_HOME/bin:$CATALINA_HOME/bin:$MYSQL_HOME/bin

When I echo my PATH via a MS cmd window I get:
H:\echo %PATH%
C:\java\Sun\AppServer\BIN;C:\java\apache-ant-1.6.1\BIN;c:\mysql\bin;C:\java\j2sd
k1.4.2_04\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~
1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1;

So I would expect that Sun\AppServer entry to show up in my
Putty/Cygwin window.  Any ideas on this?


Does it work with 'ssh'?  It works fine for me with 'ssh', even with pubkey
authentication. ;-)  


Second issue (this might should be a seperate email) is related to the
Cygwin shortcut that runs the cygwin.bat.  For some reason my
.bash_profile/.bashrc aren't getting excuted.  And even worse my $HOME
is very different.

In the MS cmd window (via cygwin shortcut) I get:
[EMAIL PROTECTED] [/home/erikweibust] $ cd
[EMAIL PROTECTED] [~] $ pwd
/cygdrive/c/java/source
[EMAIL PROTECTED] [~] $ echo $HOME
/cygdrive/c/java/source

And then in the putty window I get:
[EMAIL PROTECTED] [~] $ cd
[EMAIL PROTECTED] [~] $ pwd
/home/erikweibust
[EMAIL PROTECTED] [~] $ echo $HOME
/home/erikweibust
[EMAIL PROTECTED] [~] $

Anybody have any ideas?  I felt like these might be loosely related.


Quite possibly.  Do you set $HOME in your Windows environment?  $HOME
will be set to the home directory listed in '/etc/passwd' for 
'erikweibust' when you login to via secure shell.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread Corinna Vinschen
On Aug 18 12:23, David Rothenberger wrote:
 On 8/18/2004 8:23 AM, Corinna Vinschen wrote:
 As a temporary measure, please add the -r option when starting sshd.
 I haven't found the exact culprit so far, but the above flag will help.
 
 Thanks for the report.  It's embarassing that I didn't find the error
 myself since I had accidentally switched off privilege separation a few
 days ago :-(
 
 I did not experience this problem when I upgraded and I thought that I 
 had privilege separation enabled.  Is there any easy way to tell if it 
 is on or not?

You mean, other than looking into /etc/sshd_config?

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: socket() call failing?

2004-08-18 Thread Corinna Vinschen
On Aug 18 15:25, Jay Fenlason wrote:
 I've been trying to debug why Amanda won't work under cygwin for me
 any more, and I've traced it down to a socket() call in the sendbackup
 program.  strace shows the following (massively snipped)
 
   709  258623 [main] sendbackup 628 cygwin_socket: socket (2, 1, 6)
 79416  338039 [main] sendbackup 628 wsock_init: res 0
   281  338320 [main] sendbackup 628 wsock_init: wVersion 514
   140  338460 [main] sendbackup 628 wsock_init: wHighVersion 514
   352  338812 [main] sendbackup 628 wsock_init: szDescription WinSock 2.0
   147  338959 [main] sendbackup 628 wsock_init: szSystemStatus Running
   134  339093 [main] sendbackup 628 wsock_init: iMaxSockets 0
   135  339228 [main] sendbackup 628 wsock_init: iMaxUdpDg 0
   138  339366 [main] sendbackup 628 wsock_init: lpVendorInfo 0
  8525  347891 [main] sendbackup 628 __set_winsock_errno: cygwin_socket:602 - winsock 
 error 10106 - errno 1
   263  348154 [main] sendbackup 628 cygwin_socket: -1 = socket (2, 1, 6)
 
 but I've no clue how to debug further than this.  The socket call
 socket ( PF_INET, SOCK_STREAM, IPPROTO_TCP )
 looks OK to me. . .

Does the parent process reduce the environment to some bare minimum?
Check if the child process still has $SYSTEMROOT set.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader  mailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: upgrading openssh 3.8.1p1-1 - 3.9p1-1 breaks privilege separation

2004-08-18 Thread David Rothenberger
On 8/18/2004 2:59 PM, Corinna Vinschen wrote:
On Aug 18 12:23, David Rothenberger wrote:
On 8/18/2004 8:23 AM, Corinna Vinschen wrote:
I did not experience this problem when I upgraded and I thought that I 
had privilege separation enabled.  Is there any easy way to tell if it 
is on or not?

You mean, other than looking into /etc/sshd_config?
Yes.  As far as I know, everything is configured to use privilege 
separation.  But the fact that 3.9p1-1 worked for me without adding the 
-r switch made me wonder whether sshd was really doing privilege 
separation.  Is there any debugging output that indicates privsep is in 
use?  Can I tell using ps?  Is there any way to tell for sure that it is 
being used?

--
David Rothenbergerspammer? - [EMAIL PROTECTED]
GPG/PGP: 0x7F67E734, C233 365A 25EF 2C5F C8E1 43DF B44F BA26 7F67 E734
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Can I install cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Christopher Faylor
On Wed, Aug 18, 2004 at 01:50:42PM -0400, Larry Hall wrote:
OK, let me clarify.  With the amount of people using Cygwin, some portion of 
those folks are going to install Cygwin somewhere other than C:\Cygwin.

Would it help if I noted that my cygwin is installed on my F: drive and
my windows is installed on my L: drive?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



[ANNOUNCEMENT] Updated: rsync-2.6.2-2

2004-08-18 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have uploaded version 2.6.2-2 of the open source utility that provides
fast incremental file transfer.

It is the same as 2.6.2-1, but it contains the patch to fix august's
security advisory, as in:
http://rsync.samba.org/#security_aug04

Please notice also that this release contains a SECURITY FIX,
versions prior to 2.6.2-2 are not considered secure anymore.

If you have questions or comments, please send them to the Cygwin
mailing list at:  [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look at
the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)

iEYEARECAAYFAkEj6OEACgkQaJiCLMjyUvtkdgCggFm8uHEp/NvXRhLHPnvWRpo8
XMAAoJhwcOW5dJI7mJSkMx2ln9D6R26x
=QCsg
-END PGP SIGNATURE-



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



__const use instead of const in one place

2004-08-18 Thread Peter Hinely
Hi,

I noticed that __const is used in one and only one place in the header files.  

Line 76 of \user\include\sys\unistd.h

char_EXFUN(*getpass, (__const char *__prompt));

That's the only place in all the header files.  Shouldn't it be changed to const?  

Regards,
Peter



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: SSHD problems

2004-08-18 Thread Larry Hall
At 05:52 PM 8/18/2004, you wrote:
Hi everyone,

  I've been looking for information about installing
sshd under windows 2000 server and lots of papers show
up as howtos and faqs and troubleshootings. I tried
every single one of those and it doesn't work. My
question now isn't how to install it successfully, but
how to remove it completely from my w2k installation.
It's under services @ administrative resources and I
want to remove it from my registry and any other
entries its into. So, after that, I'll try from the
very zero ground to achieve this installation.
  Please, anyone can help me with this?


Type 'cygrunsrv --stop svc_name; cygrunsrv --remove svc_name'.  If 
you installed 'sshd' with '/bin/ssh-host-config', then svc_name == 'sshd'.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Can I install cygwin if I have a C: drive but run Windows from H:\WINDOWS\?

2004-08-18 Thread Larry Hall
At 08:56 PM 8/18/2004, Chris Faylor wrote:
On Wed, Aug 18, 2004 at 01:50:42PM -0400, Larry Hall wrote:
OK, let me clarify.  With the amount of people using Cygwin, some portion of 
those folks are going to install Cygwin somewhere other than C:\Cygwin.

Would it help if I noted that my cygwin is installed on my F: drive and
my windows is installed on my L: drive?


No Chris, of course not.  You always have that 'special' Cygwin version 
with all the 'hidden' features turned on plus a few other 'secret' 
capabilities that aren't available to the rest of us.  So you don't 
count. ;-) ;-) ;-)


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Igor Pechtchanski wrote:
On Wed, 18 Aug 2004, Andrew DeFaria wrote:
Larry Hall wrote:
At 09:39 PM 8/17/2004, you wrote:
I'm having a problem with cron in this new environment. I cannot 
execute
any of my own scripts in my ~/bin. I was also having problems executing
even things in /tmp!

[snip]
As for my cron problem I can execute rudimentary commands such as 
ls, pwd
and redirect the output to /tmp/debug.log. From that I can see that pwd
tells me that I'm in /var/cron. The script I want to execute is under
~/bin (which is on a network share). I copied that script to /tmp and
insured that it was set 777. Then I performed the following cron jobs:

18 17 * * * pwd  /tmp/debug.log 21
19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
21 17 * * * /tmp/myscript  /tmp/debug.log 21
Here's the result:
/var/cron
tabs
-rwxrwxrwx 1 TPAD3741 Domain U 5201 Aug 17 17:15 /tmp/myscript
/tmp/myscript never get's executed.
Sorry, can't really help here. There's just not enough information about
what your script does or what your environment for me to hazard a guess.
If you post more details or, better yet, a small test case, I can 
try it.
The simple test I did which just echos Hello World from a bash script
worked fine for me.
Well initially it was a Perl script that I'm trying to run through cron.
But I then stripped it down to just:
#!/bin/bash
echo testme  /tmp/debug.log 21
Nothing additional got written into /tmp/debug.log.
You have, of course, reviewed
Yes I have but there was nothing there. Changed myscript to echo to 
/tmp/myscript.log so as not to have any problems with other things 
writing to /tmp/debug.log. No /tmp/myscript.log file was created.

Problem reports: http://cygwin.com/problems.html
and thought of attaching the output of cygcheck -svr, right?
Yeah I thought about it! :-)
OK I've attached it
Also, did  you try cron_diagnose.sh (Google for it)?
I suspect some or all of your mounts may not be visible to cron... 
cron_diagnose.sh did point out that my /etc/passwd and /etc/group lacked 
read permission! Well it didn't actually lack read permission rather it 
was a symlink to network share. Actually it was a mount to a network 
share. So apparently I can't link passwd and group (I know, I know you 
hardliners will say You shouldn't symlink such things to network 
locations! What happens if the network is down and you try to login? - 
well I'm already logged into Windows so there is no real login happening 
under Cygwin. Yes there is a risk if the network is down then I will not 
have passwd, group, etc. Then again, whenever the network is down I'm 
either not working or working on the network problem anyway, but I 
digress..). Switched this to local copies. Now some things are working 
better.

Do
your cron jobs above (i.e.,
19 17 * * * ls  /tmp/debug.log 21
20 17 * * * ls -l /tmp/myscript  /tmp/debug.log 21
) still work correctly after changing ls to /bin/ls? Does 
changing  /tmp/myscript to sh -c '/tmp/myscript' help any?
With local /etc/passwd and /etc/group I'm able to execute /tmp/myscript. 
However I wish to execute ~/bin/somescript. I can't seem to get to $HOME!

Now 'round here they map the P drive to the home share via 
//server/username$ - yeah that dollar sign thingy in Windows.

I had done a mount -bsf //server/$USERNAME\$ /home a long time ago. 
However trying to ls /home/bin doesn't work in cron. Neither does ls P: 
nor even ls //server/$USERNAME\$!

This can be seen by the following output:
Executing myscript
TPAD3741
\\rtnlprod02\viewstore\webtest\CM_DOCS\Web on /wwwtest type system (binmode)
\\rtnlprod02\viewstore\webview\CM_DOCS\Web on /www type system (binmode)
\\rtnlprod02\viewstore\PMO\CM_TOOLS on /pmo type system (binmode)
\\isdata01\TPAD3741$ on /home2 type system (binmode)
C:\Program Files on /apps type system (binmode)
C:\Cygwin\bin on /usr/bin type system (binmode)
C:\Cygwin\lib on /usr/lib type system (binmode)
C:\Cygwin on / type system (binmode)
M: on /view type system (binmode)
P: on /home type system (binmode)
b: on /dev/b type system (binmode,noumount)
c: on /dev/c type system (binmode,noumount)
New connections will be remembered.^M
Status   Local RemoteNetwork^M
---
M:\\viewClearCase Dynamic Views
  \\view\defariaClearCase Dynamic Views
The command completed successfully.^M
ls: p:: No such file or directory
ls: //isdata01/TPAD3741$: No such file or directory
End of myscript
For some reason the P drive is not available to cron at all (Note at a 
previous company I was able to get to my home share merely by using the 
mount -bsf //server/share to /home and refering to /home/$USERNAME 
for the $HOME variable. Here they do not export a share under which 
all users reside, rather they map, probably from ntlogin.bat, the 
specific, hidden $USERNAME share directly to the 

RE: SSHD problems

2004-08-18 Thread Ben Terry
Anakin...you may have to delete all entries in the registry referencing ssh
and/or sshd...

Then...fire up cygwin and type:

ssh-host-config -y

Type ntsec when the install stops and waits for some input from you...

The installation is finished when you see something like, SSH installed
successfully...Enjoy!

Type cygrunsrv -S sshd in order to start the service...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Larry Hall
Sent: Wednesday, August 18, 2004 9:58 PM
To: Anakin SkyWalker; [EMAIL PROTECTED]
Subject: Re: SSHD problems

At 05:52 PM 8/18/2004, you wrote:
Hi everyone,

  I've been looking for information about installing
sshd under windows 2000 server and lots of papers show
up as howtos and faqs and troubleshootings. I tried
every single one of those and it doesn't work. My
question now isn't how to install it successfully, but
how to remove it completely from my w2k installation.
It's under services @ administrative resources and I
want to remove it from my registry and any other
entries its into. So, after that, I'll try from the
very zero ground to achieve this installation.
  Please, anyone can help me with this?


Type 'cygrunsrv --stop svc_name; cygrunsrv --remove svc_name'.  If 
you installed 'sshd' with '/bin/ssh-host-config', then svc_name == 'sshd'.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 10:44 PM 8/18/2004, you wrote:
So is P or /home off limits when it comes to cron? Why did this work at my  last 
company? I think it's probably due to the public share point versus non-public 
share point (which I never totally understood before) and I'm fearing that I will not 
be able to convince the powers that be to change it! :-(


Bingo!

You can always resort to running cron as you instead of 'SYSTEM'.  As 
long as you're the only user that needs to run under 'cron', that should
work without changing the permissions of your network shares.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote:
At 10:44 PM 8/18/2004, you wrote:
So is P or /home off limits when it comes to cron? Why did this work 
at my last company? I think it's probably due to the public share 
point versus non-public share point (which I never totally 
understood before) and I'm fearing that I will not be able to 
convince the powers that be to change it! :-(
Bingo!
You can always resort to running cron as you instead of 'SYSTEM'. As 
long as you're the only user that needs to run under 'cron', that 
should work without changing the permissions of your network shares.
I'd hate to have to resort to that!
This doesn't explain why it worked at my last company and why I could 
have sworn it used to work here up until about a week ago.
--
Do illiterate people get the full effect of alphabet soup?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 11:13 PM 8/18/2004, you wrote:
Larry Hall wrote:

At 10:44 PM 8/18/2004, you wrote:

So is P or /home off limits when it comes to cron? Why did this work at my last 
company? I think it's probably due to the public share point versus non-public 
share point (which I never totally understood before) and I'm fearing that I will 
not be able to convince the powers that be to change it! :-(

Bingo!

You can always resort to running cron as you instead of 'SYSTEM'. As long as you're 
the only user that needs to run under 'cron', that should work without changing the 
permissions of your network shares.

I'd hate to have to resort to that!

This doesn't explain why it worked at my last company and why I could have sworn it 
used to work here up until about a week ago.



Well, if you can check the access permissions on the share in question, 
you should be able to determine whether this is an issue or not.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: cygwin libtool and 'R' tagged symbols in objects

2004-08-18 Thread Charles Wilson
Gerrit P. Haase wrote:
got a problem with the latest gcc on cygwin and libtool generated
export symbol lists (gcc-3.3.3 with patches so actually it is version
3.3.4, or is it a binutils / ld issue?).  There are symbols tagged
with 'R' now in the object files which are not filtered by the libtool
regex. The attached patch fixes this, however, I'm not sure if the
symbols tagged with 'R' are DATA and if I inserted the 'R' for the
regex at the right place.  Could someone with insight verify that this
patch is correct, please?
I'll look into it but it may be some time (2weeks). libtool-1.5.8 is 
out now or will soon be out; so I'll roll up any updates with that.

--
Chuck
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


getting exim and imapd to talk

2004-08-18 Thread Mike Skallas
Hi,
I've installed exim and imapd, but when connecting to the imap service 
with thunderbird I don't see any of the mail.  What do I have to change 
so that all mail that comes to exim gets put in a place where imapd can 
process it? Thanks.

--
Mike
Block Banner Ads Now
http://everythingisnt.com/hosts.html
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


New package: e2fsprogs-1.35

2004-08-18 Thread Robb, Sam
The package 'e2fsprogs' is now available in the Cygwin distribution.

The Ext2 Filesystem Utilities (e2fsprogs) contain all of the standard
utilities for creating, fixing, configuring, and debugging ext2
filesystems (e2fsck, mke2fs, debugfs, dumpe2fs, tune2fs, etc.)

The e2fsprogs home page is http://e2fsprogs.sourceforge.net/

   *** INSTALLATION ***

To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.  e2fsprogs
is located in the Devel category.  Click on this category to install
e2fsprogsif it is not already installed.  If e2fsprogs is already
installed, it will be updated automatically.

If you have questions or comments, please send them to the Cygwin
mailing list at: [EMAIL PROTECTED] .  I would appreciate it if you would
use this mailing list rather than emailing me directly.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

- Sam Robb ([EMAIL PROTECTED])
- http://www.timesys.com


Updated: OpenSSH-3.9p1-1

2004-08-18 Thread Corinna Vinschen
I've just updated the version of OpenSSH to 3.9p1-1.

This is an official new release, based on the vanilla sources.

NOTE NOTE NOTE:

Thanks to an early bug report on the cygwin mailing list, I found that
you *must* add the -r option when starting the sshd daemon, if you want
to use privilege separation.  Either that, or disable privilege separation
in /etc/sshd_config by setting

  UsePrivilegeSeparation no


The official release message as of today:


OpenSSH 3.9 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.

OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.

We would like to thank the OpenSSH community for their continued
support to the project, especially those who contributed source and
bought T-shirts or posters.

We have a new design of T-shirt available, more info on
http://www.openbsd.org/tshirts.html#18 

For international orders use http://https.openbsd.org/cgi-bin/order
and for European orders, use http://https.openbsd.org/cgi-bin/order.eu


Changes since OpenSSH 3.8:


* Added new IdentitiesOnly option to ssh(1), which specifies that it should
  use keys specified in ssh_config, rather than any keys in ssh-agent(1)

* Make sshd(8) re-execute itself on accepting a new connection. This security
  measure ensures that all execute-time randomisations are reapplied for each
  connection rather than once, for the master process' lifetime. This includes
  mmap and malloc mappings, shared library addressing, shared library mapping
  order, ProPolice and StackGhost cookies on systems that support such things

* Add strict permission and ownership checks to programs reading ~/.ssh/config
  NB ssh(1) will now exit instead of trying to process a config with poor
  ownership or permissions

* Implemented the ability to pass selected environment variables between the
  client and the server. See AcceptEnv in sshd_config(5) and SendEnv in
  ssh_config(5) for details

* Added a MaxAuthTries option to sshd(8), allowing control over the maximum
  number of authentication attempts permitted per connection

* Added support for cancellation of active remote port forwarding sessions.
  This may be performed using the ~C escape character, see Escape Characters
  in ssh(1) for details

* Many sftp(1) interface improvements, including greatly enhanced ls support
  and the ability to cancel active transfers using SIGINT (^C)

* Implement session multiplexing: a single ssh(1) connection can now carry
  multiple login/command/file transfer sessions. Refer to the ControlMaster
  and ControlPath options in ssh_config(5) for more information

* The sftp-server has improved support for non-POSIX filesystems (e.g. FAT)

* Portable OpenSSH: Re-introduce support for PAM password authentication, in
  addition to the keyboard-interactive driver. PAM password authentication
  is less flexible, and doesn't support pre-authentication password expiry but
  runs in-process so Kerberos tokens, etc are retained

* Improved and more extensive regression tests

* Many bugfixes and small improvements

Checksums:
==

- MD5 (openssh-3.9.tgz) = 93f48bfcc1560895ae53de6bfc41689b
- MD5 (openssh-3.9p1.tar.gz) = 8e1774d0b52aff08f817f3987442a16e


Reporting Bugs:
===

- please read http://www.openssh.com/report.html
  and http://bugzilla.mindrot.org/

OpenSSH is brought to you by Markus Friedl, Niels Provos, Theo de Raadt,
Kevin Steves, Damien Miller, Ben Lindstrom, Darren Tucker and Tim Rice.


To update your installation, click on the Install Cygwin now link on
the http://cygwin.com/ web page.  This downloads setup.exe to your
system.  Then, run setup and answer all of the questions.

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look
at the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.


Updated: rsync-2.6.2-2

2004-08-18 Thread Lapo Luchini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have uploaded version 2.6.2-2 of the open source utility that provides
fast incremental file transfer.

It is the same as 2.6.2-1, but it contains the patch to fix august's
security advisory, as in:
http://rsync.samba.org/#security_aug04

Please notice also that this release contains a SECURITY FIX,
versions prior to 2.6.2-2 are not considered secure anymore.

If you have questions or comments, please send them to the Cygwin
mailing list at:  [EMAIL PROTECTED] .  I would appreciate if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

   *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look at
the List-Unsubscribe:  tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Cygwin)

iEYEARECAAYFAkEj6OEACgkQaJiCLMjyUvtkdgCggFm8uHEp/NvXRhLHPnvWRpo8
XMAAoJhwcOW5dJI7mJSkMx2ln9D6R26x
=QCsg
-END PGP SIGNATURE-




  1   2   >