Re: sshd [5.1p1] fails on seteuid "permission denied"

2008-08-05 Thread Brian Dessent
"J.D. Baldwin" wrote: > I can invoke /usr/sbin/sshd but not log in via same. I have tried it Stop right there. Running sshd directly from your user account -- even if you are an Administrator -- is incorrect and wrong. It won't work, and worse, it will cause the permissions of the dirs and fil

Re: sshd [5.1p1] fails on seteuid "permission denied"

2008-08-05 Thread René Berber
J.D. Baldwin wrote: On Tue, Aug 05, 2008 at 06:42:46PM -0500, René Berber wrote: [snip] I can invoke /usr/sbin/sshd but not log in via same. I have tried it with and without privilege separation, with and without re-exec and in various other permutations. It always fails on the seteuid call.

RE: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-05 Thread Jason Pyeron
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Pyeron > Sent: Tuesday, August 05, 2008 5:28 PM > To: 'GHDL discuss list' > Cc: cygwin@cygwin.com > Subject: RE: [Ghdl-discuss] GHDL-0.27 for Cygwin > > > > > -Original Message- >

Re: compilation - cygwin -mno-cygwin-flag

2008-08-05 Thread Charles Wilson
Jay wrote: Can the ABIs be unifed? No. You're missing the point: the "mingw" personality uses the Microsoft C Runtime library (msvcrt.dll) -- in all of its microsoftian "goodness". The cygwin gcc compiler, in its normal mode, compiles cygwin programs that use the cygwin runtime library (c

Re: Problem opening new serial ports

2008-08-05 Thread Gary Johnson
On 2008-08-05, Gary Johnson wrote: > I've been successfully using the original two serial ports on my > Windows PC, COM1 and COM2, referring to them to Cygwin tools as > /dev/ttyS0 and /dev/ttyS1, respectively. I needed two more serial > ports, so I used a device that plugs into a USB port on a PC

Re: compilation - cygwin -mno-cygwin-flag

2008-08-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jay on 8/5/2008 8:08 PM: | | Can the ABIs be unifed? No more than the Linux and Solaris ABI can be unified. Think of cygwin and -mno-cygwin as two entirely different operating systems, and you won't be too far off. | line up struct s

Re: sshd [5.1p1] fails on seteuid "permission denied"

2008-08-05 Thread J.D. Baldwin
On Tue, Aug 05, 2008 at 06:42:46PM -0500, Ren? Berber wrote: > [snip] > >I can invoke /usr/sbin/sshd but not log in via same. I have tried it > >with and without privilege separation, with and without re-exec and in > >various other permutations. It always fails on the seteuid call. > [snip] > >

RE: compilation - cygwin -mno-cygwin-flag

2008-08-05 Thread Jay
> [Brian] Using -mno-cygwin switches the compiler > into MinGW personality mode. You cannot > mix and match Cygwin and MinGW libraries. > If you use-mno-cygwin then you must ensure > that *all* libraries that any component of > your software links with were built as MinGW > libraries. You c

Re: Exim problem

2008-08-05 Thread Hugh Sasse
On Tue, 5 Aug 2008, r wrote: I have a little problem with exim : sending emails to big providers like gmail.com, yahoo.com .. I have no problem. But when I send email to my company account ( where I work ) from mutt/exim, email does not arrive. Exim has various ways of routing things. You wi

Re: Cygwin Home Page

2008-08-05 Thread Christopher Faylor
On Tue, Aug 05, 2008 at 07:01:32PM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote: >The Home Page has a "Software" >section on the lower half of the page on the right. The most recent >software listed there, "SaVi 1.2.8", is dated "Jan 5 2006". That seems >rat

Re: environment variables derived from TMPDIR

2008-08-05 Thread Tim McDaniel
On Tue, 5 Aug 2008, Kurt Franke <[EMAIL PROTECTED]> wrote: Ralf Fassel gmx.de> writes: In a SHELL script I prepare a temp file to pass to some non-cygwin program: # TMPDIR is set to c:/temp outside of cygwin # which translates to /cygdrive/c/temp inside cygwin # prepare input T

Re: environment variables derived from TMPDIR

2008-08-05 Thread Kurt Franke
Hi Ralf, Ralf Fassel gmx.de> writes: > > In a SHELL script I prepare a temp file to pass to some non-cygwin > program: > > # TMPDIR is set to c:/temp outside of cygwin > # which translates to /cygdrive/c/temp inside cygwin > # prepare input > TMPFILE=$TMPDIR/foo.$$ > cat

Re: sshd [5.1p1] fails on seteuid "permission denied"

2008-08-05 Thread René Berber
J.D. Baldwin wrote: [snip] I can invoke /usr/sbin/sshd but not log in via same. I have tried it with and without privilege separation, with and without re-exec and in various other permutations. It always fails on the seteuid call. [snip] I can't find a workaround for this. Any ideas? [sni

sshd [5.1p1] fails on seteuid "permission denied"

2008-08-05 Thread J.D. Baldwin
cygwin -s -r -v output is included below. I have found numerous reports of this same problem on various Cygwin forums, mailing lists, etc., but no solutions offered. I can invoke /usr/sbin/sshd but not log in via same. I have tried it with and without privilege separation, with and without re-e

Cygwin Home Page

2008-08-05 Thread Buchbinder, Barry (NIH/NIAID) [E]
The Home Page has a "Software" section on the lower half of the page on the right. The most recent software listed there, "SaVi 1.2.8", is dated "Jan 5 2006". That seems rather stale to me; it might give people considering cygwin the very incorrect impressio

Re: Exim problem

2008-08-05 Thread Pierre A. Humblet
- Original Message - From: "r" To: cygwin Sent: Tuesday, August 05, 2008 4:35 PM Subject: Exim problem | | | I have a little problem with exim : sending emails to big providers like | gmail.com, yahoo.com .. I have no problem. But when I send email to my | company account ( where

RE: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-05 Thread Jason Pyeron
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Dave Korn > Sent: Tuesday, August 05, 2008 9:56 AM > To: 'Jason Pyeron'; 'GHDL discuss list' > Cc: cygwin@cygwin.com > Subject: RE: [Ghdl-discuss] GHDL-0.27 for Cygwin > > Jason Pyeron wrote on 05 Aug

RE: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-05 Thread Jason Pyeron
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David G. Koontz > Sent: Tuesday, August 05, 2008 10:11 AM > To: GHDL discuss list > Subject: Re: [Ghdl-discuss] GHDL-0.27 for Cygwin > > Jason Pyeron wrote: > >>> -Original Message- > >>> Fr

Exim problem

2008-08-05 Thread r
I have a little problem with exim : sending emails to big providers like gmail.com, yahoo.com .. I have no problem. But when I send email to my company account ( where I work ) from mutt/exim, email does not arrive. And no errors come back. I

Problem opening new serial ports

2008-08-05 Thread Gary Johnson
I've been successfully using the original two serial ports on my Windows PC, COM1 and COM2, referring to them to Cygwin tools as /dev/ttyS0 and /dev/ttyS1, respectively. I needed two more serial ports, so I used a device that plugs into a USB port on a PC and provides two serial ports. The device

Re: compilation - cygwin -mno-cygwin-flag

2008-08-05 Thread Brian Dessent
Marian Kogler wrote: > I don't know what I should link in addition to the allready linked libraries. > What do the warnings mean? > I hope that someone of you can help me. Using -mno-cygwin switches the compiler into MinGW personality mode. You cannot mix and match Cygwin and MinGW libraries. I

Re: compilation under cygwin

2008-08-05 Thread Brian Dessent
Marian Kogler wrote: > LIBS= -lpthread -lcurl -lcurlpp -lboost_thread-gcc-mt > -lboost_regex-gcc-mt -lstdc++ -lws2_32 -lxml2 -lssl -lcrypto -lws2_32 is a red flag. It should not be used from a Cygwin app, because it indicates that something is trying to use the Winsock API. This is

Re: Does anyone use insight on cygwin?

2008-08-05 Thread Brian Keener
Christopher Faylor wrote: > Does anyone actually use insight on Cygwin? I use both gdb and Insight although I prefer Insight - like Charles Insight is easier for me. I don't have a problem with it running in X but I also wonder if it would be possible to have a version of Insight that would ru

Re: Does anyone use insight on cygwin?

2008-08-05 Thread Reini Urban
2008/8/5 Dave Korn <[EMAIL PROTECTED]>: > Christopher Faylor wrote on 05 August 2008 15:40: > >> On Tue, Aug 05, 2008 at 11:25:32AM +0200, Reini Urban wrote: >>> I use it from time to time, when raw gdb is not good enough. >>> Esp. with perl with its hundreds of vars I desperately need it. >>> >>>

Re: postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-05 Thread Reini Urban
2008/8/5 Mark Tunnell: >> |> Sounds like a missing dependency. Try 'cygcheck psql.exe' to see if it >> |> complains about any missing DLLs. If it does, you need to install the >> |> packages with the missing DLLs. See if >> |> you need to find the package a DLL is i

Re: postgresql-client 8.2.9-1 - psql.exe returns nothing, just goes back to the prompt

2008-08-05 Thread Mark Tunnell
> |> Sounds like a missing dependency. Try 'cygcheck psql.exe' to see if it > |> complains about any missing DLLs. If it does, you need to install the > |> packages with the missing DLLs. See if > |> you need to find the package a DLL is in (or 'cygcheck -p '). > |>

[ANNOUNCEMENT] Updated: Setup.exe updated to version 2.573.2.3

2008-08-05 Thread Dave Korn
I've updated the version of setup.exe at to version 2.573.2.3. This version incorporates major new security-related features and a number of bug fixes, as listed below. No action is required by maintainers of standard Cygwin mirrors, but maintainers of custo

RE: Does anyone use insight on cygwin?

2008-08-05 Thread Dave Korn
Christopher Faylor wrote on 05 August 2008 15:40: > On Tue, Aug 05, 2008 at 11:25:32AM +0200, Reini Urban wrote: >> I use it from time to time, when raw gdb is not good enough. >> Esp. with perl with its hundreds of vars I desperately need it. >> >> gdb has some problems with dll's, but insight w

Re: Does anyone use insight on cygwin?

2008-08-05 Thread Christopher Faylor
On Tue, Aug 05, 2008 at 11:25:32AM +0200, Reini Urban wrote: >I use it from time to time, when raw gdb is not good enough. >Esp. with perl with its hundreds of vars I desperately need it. > >gdb has some problems with dll's, but insight works fine. insight is gdb so I can't really conceive of a si

Re: Does anyone use insight on cygwin?

2008-08-05 Thread Christopher Faylor
On Tue, Aug 05, 2008 at 01:37:48AM -0500, Yaakov (Cygwin Ports) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Brian Dessent wrote: > | Do you think git users are going to be thrilled about having to now > | install and run the whole X11 server enchalada just to run gitk on > | Wind

gcc, PlaySound(), Vista

2008-08-05 Thread Nicholas Volk
Hi all, I notice that Window's PlaySound() function makes my program crash when using Cygwin's gcc with Vista. The problem does not exist in XP. Also the problem vanishes when using -mno-cygwin option with Vista. The attached C file contains a simple program (it just contains a char array of audio

RE: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-05 Thread Dave Korn
Jason Pyeron wrote on 05 August 2008 14:38: Make fails with the following error: Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./libgcc/_chkstk.o differs Bootstrap comparison failure! ./ada/exp_aggr.o differs make[2]: *** [compare] Error 1 >

Re: environment variables derived from TMPDIR

2008-08-05 Thread Ralf Fassel
* Ralf Fassel | | Does it work to pass the contents of the file on stdin instead of | | the file name as an argument? | | | | external_program < "$TMPFILE" | | Duh. This should work in 95% of the cases. In the other cases file | size of TMPFILE is involved, so redirection would not work as-is.

RE: [Ghdl-discuss] GHDL-0.27 for Cygwin

2008-08-05 Thread Jason Pyeron
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jason Pyeron > Sent: Monday, August 04, 2008 9:46 PM > To: 'GHDL discuss list' > Subject: Re: [Ghdl-discuss] GHDL-0.27 for Cygwin > > > > -Original Message- > > > From: [EMAIL PROTECTED] > >

Re: environment variables derived from TMPDIR

2008-08-05 Thread Ralf Fassel
* Eric Blake | | # call program: error: no such file /cygdrive/c/temp/foo.1234 | | # filename should be c:/temp/foo.1234 | | external_program "$TMPFILE" | | Does it work to pass the contents of the file on stdin instead of | the file name as an argument? | | external_program < "$TMPFI

compilation - cygwin -mno-cygwin-flag

2008-08-05 Thread Marian Kogler
Hi everybody! I tried to compile my program with the -mno-cygwin flag like this: ## CC = g++ CFLAGS = -D__USE_W32_SOCKETS -D_WIN32_WINDOWS=0x0501 -mno-cygwin LDLAGS = -D__USE_W32_SOCKETS -D_WIN32_

compilation under cygwin

2008-08-05 Thread Marian Kogler
Hi everbody! I tried to compile my program with gcc (version 3.4.4) under cygwin and used the following Makefile: ### CC = g++ CFLAGS = -D__USE_W32_SOCKETS -D_WIN32_WINDOWS=0x0501 LDLAGS = -D__USE_W32_SOCKETS -D_W

RE: Does anyone use insight on cygwin?

2008-08-05 Thread Gerald.Williams
Christopher Faylor wrote: > Does anyone actually use insight on Cygwin? I use it. I prefer to avoid X dependencies for a variety of reasons (I run the non-X-dependent version of RXVT also), although if insight had to become X-dependent, it wouldn't be the end of the world. -Jerry -- Unsubscribe

Re: environment variables derived from TMPDIR

2008-08-05 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ralf Fassel on 8/5/2008 4:59 AM: | # call program: error: no such file /cygdrive/c/temp/foo.1234 | # filename should be c:/temp/foo.1234 | external_program "$TMPFILE" Does it work to pass the contents of the file on stdin ins

environment variables derived from TMPDIR

2008-08-05 Thread Ralf Fassel
In a SHELL script I prepare a temp file to pass to some non-cygwin program: # TMPDIR is set to c:/temp outside of cygwin # which translates to /cygdrive/c/temp inside cygwin # prepare input TMPFILE=$TMPDIR/foo.$$ cat > "$TMPFILE" <<\EOF some stuff EOF # call program

Re: OpenSSH installation under X64 Vista - can't log in

2008-08-05 Thread Paul Keeble
Larry Hall (Cygwin cygwin.com> writes: > > Paul Keeble wrote: > > Jason Byerly ymail.com> writes: > >> I am having a problem similar to that reported by Kevin Hilton at the > >> following URL: > >> http://sourceware.org/ml/cygwin/2007-12/msg00552.html > > ... > >> ssh_exchange_identificatio

Re: OpenSSH installation under X64 Vista - can't log in

2008-08-05 Thread Paul Keeble
Jason Byerly ymail.com> writes: > > Maybe I should note that the Windows hosts file referred to the localhost as "::1", a format I am not familiar > with (maybe something related to IPv6?). The results below were obtained after I commented that line out > and replaced it with: > 127.0.0.1 loc

Re: Does anyone use insight on cygwin?

2008-08-05 Thread Reini Urban
I use it from time to time, when raw gdb is not good enough. Esp. with perl with its hundreds of vars I desperately need it. gdb has some problems with dll's, but insight works fine. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscrib

RE: Bizarre Cygwin/Explorer/paths problem half-solved

2008-08-05 Thread Luke Kendall
On 4 Aug, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Luke Kendall wrote on Monday, August 04, 2008 4:18 AM: > > > I discovered today that if I try to run Windows Explorer from the > > Cygwin command line, and give it a pathname with spaces, it fails, > > but if I give the same command line to a