Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
René Berber-2 wrote: > > On 4/26/2011 2:02 PM, Fokke Nauta wrote: > > [snip] >> I edited the proper sshd_config file. Perhaps I didn't do that well >> enough, >> but after restarting the Cygwin ssh service no login attempt was logged >> after I logged in. > > Where are you looking for the log?

Re: Request: LFTP Update to 4.2.2

2011-04-26 Thread Chris Sutcliffe
Seems like this build is broken, no matter what I try with it, I get the results similar to the following: 493 [main] lftp 4024 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1453 [main] lftp 4024 open_stackdumpfile: Dumping stack trace to lftp.exe.stackdump 1 [main] lftp 1204

Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights

2011-04-26 Thread Christian Franke
Christian Franke wrote: A test script for all shells is attached. Run with admin rights. Requires cygdrop from cygutils package. Now it is attached :-) #!/bin/sh #f=/proc/registry/HKEY_LOCAL_MACHINE/SAM/SAM f=/proc/registry/HKEY_LOCAL_MACHINE/SECURITY /bin/test -r $f || echo "tes

Re: [PATCH] base-files-4.0.6: Change prompt if running with admin rights

2011-04-26 Thread Christian Franke
Daniel Colascione wrote: On 4/24/11 9:39 AM, Christian Franke wrote: On 2011-04-01, Christian Franke wrote: The attached patch for /etc/profile and /etc/bash.bashrc sets a root prompt ('#' instead of '$' or '%') if the shell runs with admin rights (local or domain admin group).

Re: Enable logging remote ssh contacts

2011-04-26 Thread René Berber
On 4/26/2011 2:02 PM, Fokke Nauta wrote: [snip] > I edited the proper sshd_config file. Perhaps I didn't do that well enough, > but after restarting the Cygwin ssh service no login attempt was logged > after I logged in. Where are you looking for the log? If you are not running syslog-ng (or any

Re: Bug in remote gui app execution via ssh

2011-04-26 Thread Larry Hall (Cygwin)
On 4/26/2011 1:52 PM, Harmon Nine wrote: The bug is as follows: A remote system R has Cygwin sshd running from version 5.8p1-1 of openssh. The daemon is running as a service, configured using the directions at http://chinese-watercolor.com/LRP/printsrv/cygwin-sshd.html. Further, the service is r

Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
Larry Hall (Cygwin) wrote: > > On 4/26/2011 10:10 AM, Fokke Nauta wrote: >> >> >> Dawud Medina wrote: >>> >>> On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: Is there any way to enable logging remote login attempts to have a view op what happens? >>> >>> Check the sshd_con

Re: needed feature in Cygwin fifos

2011-04-26 Thread Christopher Faylor
On Tue, Apr 26, 2011 at 02:31:19PM -0400, bob 295 wrote: >>On Tue, Apr 26, 2011 at 01:34:16PM -0400, bob 295 wrote: >>>I recognize that Cygwin fifos are "buggy and not suitable for anything but >>>simplest of applications", however in the spirit of seeing if things can be >>>improved here is som

Re: needed feature in Cygwin fifos

2011-04-26 Thread bob 295
>On Tue, Apr 26, 2011 at 01:34:16PM -0400, bob 295 wrote: >>I recognize that Cygwin fifos are "buggy and not suitable for anything but >>simplest of applications", however in the spirit of seeing if things can be >>improved here is some more test code which illustrates one of the "bugs". >Maybe

Re: needed feature in Cygwin fifos

2011-04-26 Thread Christopher Faylor
On Tue, Apr 26, 2011 at 01:34:16PM -0400, bob 295 wrote: >I recognize that Cygwin fifos are "buggy and not suitable for anything but >simplest of applications", however in the spirit of seeing if things can be >improved here is some more test code which illustrates one of the "bugs". Maybe I ne

Bug in remote gui app execution via ssh

2011-04-26 Thread Harmon Nine
Hello. There appears to be a bug in the ssh-daemon in version 5.8p1-1 of the openssh package. The bug does not present itself on systems running sshd from the 5.1p1-10 version of openssh. The bug is as follows: A remote system R has Cygwin sshd running from version 5.8p1-1 of openssh. The daemo

needed feature in Cygwin fifos

2011-04-26 Thread bob 295
I recognize that Cygwin fifos are "buggy and not suitable for anything but simplest of applications", however in the spirit of seeing if things can be improved here is some more test code which illustrates one of the "bugs". It seems that on Linux if you open a fifo for RDWR it will "trick" the

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Dan Grayson
Christopher Faylor cygwin.com> writes: > Cygwin doesn't change the creation time gratuitously. Sounds like BLODA > to me. > http://cygwin.com/acronyms/#BLODA > > cgf Good call! I killed Vid.exe from Logitech and reduced the probability of failure from 25% per file to 1%. Sadly, killing oth

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Dan Grayson
Thanks for the correction. That's what tar looks at. Corinna Vinschen cygwin.com> writes: > Btw., POSIX st_ctime is not "creation time" but "change time". > > Corinna > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Corinna Vinschen
On Apr 26 11:22, Christopher Faylor wrote: > On Tue, Apr 26, 2011 at 03:08:52PM +, Dan Grayson wrote: > >(Re-posting yet again, didn't get through yesterday or today (?), this time > >from a different account.) > > > > > >Corinna, > > > >Debugging with gdb shows that "tar" is prepared for the p

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Christopher Faylor
On Tue, Apr 26, 2011 at 03:08:52PM +, Dan Grayson wrote: >(Re-posting yet again, didn't get through yesterday or today (?), this time >from a different account.) > > >Corinna, > >Debugging with gdb shows that "tar" is prepared for the possibility that >symbolic links don't work and that hard li

Re: Enable logging remote ssh contacts

2011-04-26 Thread Larry Hall (Cygwin)
On 4/26/2011 10:10 AM, Fokke Nauta wrote: Dawud Medina wrote: On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: Is there any way to enable logging remote login attempts to have a view op what happens? Check the sshd_config manpage for LogLevel and/or SyslogFacility. Works the sa

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Dan Grayson
(Re-posting yet again, didn't get through yesterday or today (?), this time from a different account.) Corinna, Debugging with gdb shows that "tar" is prepared for the possibility that symbolic links don't work and that hard links will have to be used instead. So, when it encounters a symbolic l

Re: rebasing freshly built executables?

2011-04-26 Thread Reini Urban
2011/4/26 Dima Pasechnik: > while building Maxima on Windows 7 / Cygwin 1.7.9, with ECL (an > implementation of Common Lisp), we see the following puzzling error > messages, quite reminiscent of the usual cygwin installation in need > of rebaseall: > > 3 [main] ecl 2448 C:\cygwin\home\dima\sage-4.7

Re: Request: LFTP Update to 4.2.2

2011-04-26 Thread Andrew Schulman
> On 26 April 2011 08:56, Andrew Schulman wrote: > >> I would greatly appreciate it lftp was updated to the 4.2.2 release. > > > > OK, I'm building it now.  If there are no problems, I'll have it out in the > > next day or so.  Andrew. > > I saw the RFU on the Apps list, thank you! If you can't w

Re: Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
Dawud Medina wrote: > > On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: >> Is there any way to >> enable logging remote login attempts to have a view op what happens? > > Check the sshd_config manpage for LogLevel and/or SyslogFacility. > Works the same for GNU/Linux, not cygwin sp

Re: Request: LFTP Update to 4.2.2

2011-04-26 Thread Chris Sutcliffe
On 26 April 2011 08:56, Andrew Schulman wrote: >> I would greatly appreciate it lftp was updated to the 4.2.2 release. > > OK, I'm building it now.  If there are no problems, I'll have it out in the > next day or so.  Andrew. I saw the RFU on the Apps list, thank you! Chris -- Chris Sutcliffe h

rebasing freshly built executables?

2011-04-26 Thread Dima Pasechnik
Dear all, while building Maxima on Windows 7 / Cygwin 1.7.9, with ECL (an implementation of Common Lisp), we see the following puzzling error messages, quite reminiscent of the usual cygwin installation in need of rebaseall: 3 [main] ecl 2448 C:\cygwin\home\dima\sage-4.7.alpha5\local\bin\ecl.exe:

Re: Enable logging remote ssh contacts

2011-04-26 Thread David Sastre
On Tue, Apr 26, 2011 at 06:02:00AM -0700, Fokke Nauta wrote: > Is there any way to > enable logging remote login attempts to have a view op what happens? Check the sshd_config manpage for LogLevel and/or SyslogFacility. Works the same for GNU/Linux, not cygwin specific. -- Huella de clave primar

Enable logging remote ssh contacts

2011-04-26 Thread Fokke Nauta
Hi all, Installed Cygwin SSH server on a Windows XP machine. It works well from within the LAN but from the firewall I can see that the server is contacted remotely on a regular base. I will enabled port 22 in the firewall that to ensure that I will be able to login in remotely as well. Is there

Re: Request: LFTP Update to 4.2.2

2011-04-26 Thread Andrew Schulman
> I would greatly appreciate it lftp was updated to the 4.2.2 release. OK, I'm building it now. If there are no problems, I'll have it out in the next day or so. Andrew. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: untarring symlinks with ../ fails randomly

2011-04-26 Thread Corinna Vinschen
On Apr 25 14:59, Lester Ingber wrote: > Corinna Vinschen cygwin.com> writes: > > > > > On Apr 24 17:14, Dima Pasechnik wrote: > > > Dear all, > > > reposting, as the message did not get through to the mailing list > > > yesterday: > > > > > > The issue I have is exactly as described in > > > h