RE: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Geoff Soutter
Did you read the cygwin ssh docs in /usr/docs SSHD is not perfect on cygwin but I managed to get it to work running as a service. Inetd is not recommended as far as I remember. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Wu Yongwei Sent: Friday, Janu

problem on cygregex.dll?

2002-01-25 Thread Joseph Yuen
Hi, I got a problem regarding to OpenSSH. Whenever I run ssh, the system just keeps saying cygregex.dll couldn't not be found. I've installed both cygwin and OpenSSH package again, but the problem just still goes on. Can you tell me any clue about that? Thx P.S. I've searched my harddrive for cy

RE: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Wu Yongwei
Yes. But it did not help much. And in later testing I found even the first time the sshd service was started after reboot it still had problems: it would accept ONLY the first login, and later attempts would be denied. Thank you for your kind and quick help, after all. Best regards, Wu Yongwei

Re: HELP! Running rsh non-interactvively

2002-01-25 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 01:40:28PM -0800, [EMAIL PROTECTED] wrote: > I want to run cygwin's rsh non-interactively. > > To get inetd working I found > http://www.adamswann.com/library/2001/Cygwin-Inetd.html and tried to follow its > advice. > [...] Why didn't you just use the way to install inetd

Re: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 04:10:24PM +0800, Wu Yongwei wrote: > I am running the latest version (as of minutes ago) of Cygwin and > encountered problems of SSHD. I did not found answer in latest posts. > > I used ssh-host-config to set up sshd. I installed sshd as service and used > the default "CY

Re: problem on cygregex.dll?

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 04:04:44AM -0500, Joseph Yuen wrote: > Hi, > > I got a problem regarding to OpenSSH. > Whenever I run ssh, the system just keeps > saying cygregex.dll couldn't not be found. > I've installed both cygwin and OpenSSH package again, > but the problem just still goes on. Can y

Re: socket/fdopen/exec problem

2002-01-25 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:47:36PM -0500, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > Isn't that just the usual effect that sockets remain in TIME_WAIT > > state for 2MSL seconds? > > I realize I am mixing two things. Seeing reused ports in netstat > isn't much of a problem in itsel

Re: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Wu Yongwei
What are the EXACT requirements for passwd, group, and key file ownership (I do not see how to change ownership to SYSTEM; currently Administrator owns them)? Also notice that the first SSH connection is OK. So I do NOT expect much that my configuration is wrong. I do not think my Windows box has

I finally fixed my webcam, come watch me... it's free!

2002-01-25 Thread
Below is the result of your feedback form. It was submitted by ([EMAIL PROTECTED]) on Friday, January 25, 2002 at 06:41:05 --- : Hey, this is Kelly. I am a 19 year old bisexual College freshman at Florida State. :Me and

OT: gdb, cygwin & WINE

2002-01-25 Thread Robert Collins
Ok, call me sick. I've a reason (really). My goal: to be able to use gdb, hosted on linux | wine, debugging binaries potentially linked against cygwin1.dll running under WINE. Why? Speed. linux is sooo much faster, that I am much more efficient there, but my emulated win9x vpc is far to slow. Bu

Re: security.cc: bug report, question and suggestion

2002-01-25 Thread Corinna Vinschen
On Thu, Jan 24, 2002 at 04:17:47PM -0500, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > Sorry but I don't see what you've tested. The patch should address > > your problem with the access rights of the impersonation token. > > The attachment has a printout of the security info of the

Re: gettimeofday() does not returns usec resolution

2002-01-25 Thread Lapo Luchini
Ralf Habacker wrote: > Lapo Luchini writes: > > > isn't the time slice about 10ms. ? > > Actually is between 15 and 16ms: > > try 2: 437703512 - 437719512 = 16000 > > try 3: 437719512 - 437734512 = 15000 > Thats my result on a toshiba Satelitte Pro 4300 Laptop with win2000 > try 1: -347828856

Re: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 06:26:22PM +0800, Wu Yongwei wrote: > What are the EXACT requirements for passwd, group, and key file ownership (I group & passwd: readable by everyone. Ownership is unimportant. I meant, check the content. Private ssh key files: Owner SYSTEM, mode 600 Pub

mounting windows cdrom on a unix box

2002-01-25 Thread J S
Just thought of a quick question. Can I mount a disk from my windows machine to a unix box using cygwin? JS. _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- Unsubscribe info: http://cyg

Re: mounting windows cdrom on a unix box

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 11:59:04AM +, J S wrote: > Just thought of a quick question. Can I mount a disk from my windows machine > > to a unix box using cygwin? That's a job for SAMBA. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer

BASH: kill: (388067) - Not owner

2002-01-25 Thread Sylvain Petreolle
Hi, I installed a few days ago mysql server 3.23.25 for Windows (i'm running latest cygwin with Windows ME). I want to let mysqld server be running by cygwin. I wrote a script and forgot the "&" to put the task in background. /etc/profile.d/S01mysqld.sh: if [ "`ps | grep -i mysqld-opt`" = '' ]

Re: BASH: kill: (388067) - Not owner

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 02:09:25PM +0100, Sylvain Petreolle wrote: > Hi, > > I installed a few days ago mysql server 3.23.25 for > Windows (i'm running latest cygwin with Windows ME). > [...] > What could I do to solve the problem ? Dunno. The MySQL folks are using a Cygwin version on their own

Where can I find Cygwin's earlier releases

2002-01-25 Thread bhaskar . g
Hi, I need cygwin 1.3.1 and 1.3.2. Please let me know how can I download this and install it on my PC. thanks in advance for your kindly help. cheers bhaskar -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation:

Re: Where can I find Cygwin's earlier releases

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 02:36:15PM +0100, [EMAIL PROTECTED] wrote: > Hi, > > I need cygwin 1.3.1 and 1.3.2. Please let me know how can I download this and >install it on my PC. Why would you need old releases? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin t

Re: Where can I find Cygwin's earlier releases

2002-01-25 Thread bhaskar . g
Hi Corinna, Thanks for you quick response. I need to bench mark one of our software. I tested it on cygwin 1.3.4 and 1.3.9. I need to test it on 1.3.1 and 1.3.2 and test as well .Please let me know if it available. cheers bhaskar

Re: Where can I find Cygwin's earlier releases

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 02:50:15PM +0100, [EMAIL PROTECTED] wrote: > Hi Corinna, > > Thanks for you quick response. I need to bench mark one of our software. I tested it >on cygwin 1.3.4 and 1.3.9. > I need to test it on 1.3.1 and 1.3.2 and test as well .Please let me know if it >available. N

RE: Where can I find Cygwin's earlier releases

2002-01-25 Thread Stephano Mariani
Use CVS to checkout the version you want, and build it yourself. Stephano Mariani > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of [EMAIL PROTECTED] > Sent: 25 January 2002 13:50 > To: Corinna Vinschen > Subject: Re: Where can I find Cygwin's earli

Re: PostgreSQL and Cygipc as a Service

2002-01-25 Thread Jason Tishler
David, On Wed, Jan 23, 2002 at 10:10:10PM +0100, David Ecker wrote: > I tried to install the ipc-deamon and the postmaster as a nt service. The > installation was ok. I could start "(net start) ipc-deamon" and after that > I could start the "(net start) postmaster" service. I also added a > re

Re: problem on cygregex.dll?

2002-01-25 Thread Charles Wilson
Joseph Yuen wrote: > I got a problem regarding to OpenSSH. > Whenever I run ssh, the system just keeps > saying cygregex.dll couldn't not be found. > I've installed both cygwin and OpenSSH package again, > but the problem just still goes on. Can you tell > me any clue about that? Thx Run setup

Re: security.cc: bug report, question and suggestion

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: Hi Corinna, I have rearranged the order of your questions. > The registry you're trying to access, is that a key below HKCU or > HKLM? Special keys: HKLM "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Perflib\\009 and HKEY_PERFORMANCE_DATA Although the first key abo

Re: HELP! Running rsh non-interactvively

2002-01-25 Thread norm
Corinna Vinschen <[EMAIL PROTECTED]> writes: >On Thu, Jan 24, 2002 at 01:40:28PM -0800, [EMAIL PROTECTED] wrote: >> I want to run cygwin's rsh non-interactively. >> >> To get inetd working I found >> http://www.adamswann.com/library/2001/Cygwin-Inetd.html and tried to follow its >> advice. >> [..

Re: socket/fdopen/exec problem

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: > > Did you set the SO_REUSEADDR flag? > Yes. The background of this is that I am trying to port an application (exim, a mail transfer agent). I see it does not answer incoming calls (Win98) after a re-exec following kill -HUP. I am trying to reproduce the behavior in a

Re: security.cc: bug report, question and suggestion

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 09:57:02AM -0500, Pierre A. Humblet wrote: > The impersonated one, after setuid() > No problem whatsoever with the creator ("self" in Microsoft language). > > >In which situation does the application try to read the > > registry key, before or after the successful setuid(

Re: socket/fdopen/exec problem

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 10:39:30AM -0500, Pierre A. Humblet wrote: > Consider the following > > /> netstat -a | fgrep 999<=== daemon is running > TCPPHumblet:999 0.0.0.0:0 LISTENING > /> kill -HUP 293 < re-exec > /> netstat -a | fgrep 999<

Re: HELP! Running rsh non-interactvively

2002-01-25 Thread Corinna Vinschen
On Fri, Jan 25, 2002 at 07:10:32AM -0800, [EMAIL PROTECTED] wrote: > Corinna Vinschen <[EMAIL PROTECTED]> writes: > >On Thu, Jan 24, 2002 at 01:40:28PM -0800, [EMAIL PROTECTED] wrote: > >> I want to run cygwin's rsh non-interactively. > >> > >> To get inetd working I found > >> http://www.adamswa

Re: socket/fdopen/exec problem

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: > > > Any thoughts? > > Not immediately. Two questions: > > - Did you encounter the same on NT? The demo output I gave you, with the temporary non-acceptance, was on NT. The "never accepting" condition of exim is on Win98 (where most of my testing takes place) and was n

Re: Where can I find Cygwin's earlier releases

2002-01-25 Thread bhaskar . g
Hi Corinna, I am unable to download the stuff from CVS. As we are behind a firewall. Can have these files gzipped and put in some ftp directory so that I can download it from. Thanks for kindly help. thanks and regards bhaskar

Re: security.cc: bug report, question and suggestion

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: > That sounds weird, though. It doesn't make sense. The DACL > for the token only sets the permissions for accessing the token > and not for accessing other objects. > > Hmm. > > OTOH..., if the process can't access the token it doesn't know about > it's own permission

Unable to find cygregex.dll

2002-01-25 Thread dmeans
When attempting to use ssh (i.e., ssh user@host), I get this error: 'The dynamic link library cygregex.dll could not be found ...' This error is generated from a fresh install of 1.3.9, on a Win2K server. However, I've re-installed twice in attempt to correct the problem. Thanks for your help,

Re: OT: gdb, cygwin & WINE

2002-01-25 Thread Christopher Faylor
On Fri, Jan 25, 2002 at 09:54:48PM +1100, Robert Collins wrote: >Ok, call me sick. I've a reason (really). > >My goal: to be able to use gdb, hosted on linux | wine, debugging >binaries potentially linked against cygwin1.dll running under WINE. > >Why? Speed. linux is sooo much faster, that I am m

Re: mounting windows cdrom on a unix box (off-topic)

2002-01-25 Thread Christopher Faylor
On Fri, Jan 25, 2002 at 01:44:00PM +0100, Corinna Vinschen wrote: >On Fri, Jan 25, 2002 at 11:59:04AM +, J S wrote: >> Just thought of a quick question. Can I mount a disk from my windows machine >> >> to a unix box using cygwin? > >That's a job for SAMBA. And, it's an off-topic question fo

Re: Unable to find cygregex.dll

2002-01-25 Thread Christopher Faylor
On Fri, Jan 25, 2002 at 12:08:55PM -0500, [EMAIL PROTECTED] wrote: >When attempting to use ssh (i.e., ssh user@host), I get this error: > >'The dynamic link library cygregex.dll could not be found ...' > >This error is generated from a fresh install of 1.3.9, on a Win2K server. > >However, I've re

Re: Unable to find cygregex.dll

2002-01-25 Thread dmeans
Sorry to be a bother. I searched, but I didn't see it. Thanks, David > Btw, this question was just asked in the cygwin mailing list. If you > had done a mailing list archive search you would have seen this answer. > > cgf > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-

gcc g++

2002-01-25 Thread Todd Fisher
Recently I updated cygwin to version 1.3.9 and now whenever i compile a program i get no executable file. e.g. if i have a file temporary.cpp and compile using the line g++ -o myexe temporary.cpp the myexe.exe is never created. if i try g++ temporary.cpp i get no a.out or a.exe Todd -- Unsubsc

RE: gcc g++

2002-01-25 Thread Stephano Mariani
Search you path, you may have conflicting version of the cygwin1.dll somewhere... I had that problem and it puzzled me for quite a while. If that doesn't help, send a copy of cygcheck -s -v -r to the list. Stephano Mariani -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTEC

Re: sh-utils: "su" patch for use with ntsec..

2002-01-25 Thread Charles Wilson
Ah -- but "su" is *supposed* to be part of the "sh-utils" package -- but it was ripped out because it doesn't (yet) work on cygwin. I'd view this post as a "here's a patch for the sh-utils package". Which, incidentally, DOES belong on the [EMAIL PROTECTED] list -- but not on the [EMAIL PROTE

Re: New setup.exe snapshot

2002-01-25 Thread John A. Turner
Robert Collins wrote: > Any and all testing/feedback is needed. I've been using it for a while, and have a bit of feedback... o if the window gets covered up, clicking on its button on the taskbar doesn't bring it back to the top like it does with other apps o it seems to crash on certain

A Cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Earnie Boyd
I'm wondering what prefix parameter should be used? I like (listed in order of preference): --prefix=/usr/cross --prefix=/usr Comments? Earnie. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscr

Connection immediately closed after sucessful login.

2002-01-25 Thread Sherwood Botsford
An earlier version of message was also sent to Mike erdeley's sshd list. Server Platform Win2K pro (workstation). Cygwin 1.3.8-1 Openssh 3.0.2p1 Client Platform Linux 7.1 Openssh_2.9p2 Gave group SYSTEM the following 4 additional privleges: Act as part of the Operating sytem

RE: A Cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Norman Vine
Earnie Boyd writes: > >I'm wondering what prefix parameter should be used? I like (listed in >order of preference): > >--prefix=/usr/cross >--prefix=/usr > >Comments? I have been using --prefix=/usr/mingw Cheers Norman -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug r

Re: A Cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Earnie Boyd
Norman Vine wrote: > > Earnie Boyd writes: > > > >I'm wondering what prefix parameter should be used? I like (listed in > >order of preference): > > > >--prefix=/usr/cross > >--prefix=/usr > > > >Comments? > > I have been using > > --prefix=/usr/mingw > It needs to be generic enough for the

Re: sh-utils: "su" patch for use with ntsec..

2002-01-25 Thread Christopher Faylor
>Christopher Faylor wrote: >>There is no "su" command in the cygwin release. >> >>This mailing list is intended for discussing cygwin packaging issues >>(and secondarily it is apparently intended for me to tell ever other >>poster that they are off-topic). On Fri, Jan 25, 2002 at 02:29:53PM -0500

Re: A cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Christopher Faylor
On Fri, Jan 25, 2002 at 03:44:36PM -0500, Earnie Boyd wrote: >Norman Vine wrote: >> >> Earnie Boyd writes: >> > >> >I'm wondering what prefix parameter should be used? I like (listed in >> >order of preference): >> > >> >--prefix=/usr/cross >> >--prefix=/usr >> > >> >Comments? >> >> I have been

Re: A cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Charles Wilson
Christopher Faylor wrote: > > Red Hat uses something like: > > /usr/H-i686-pc-cygwin > > for the cygwin "H"osted tools. > > Underneath that you get something like: > > i686-pc-cygwin > i686-pc-linux > etc. > > for the targeted tools. > > So, in this instance you'd have: > > /usr/H-i686-pc

After new install, start in /usr/bin/{myname} not in /home/{myname}

2002-01-25 Thread fergus at bonhard dot uklinux dot net
Extraordinary, this. Cygwin (latest version) was today installed on a W98 machine in a way not obviously different from many previous new installs -- that is, from a zip disk including just setup.exe + /contrib/* + /latest/* and no setup.ini. The startup location after keying "\Cygwin\bin\bash --l

Re: BASH: kill: (388067) - Not owner

2002-01-25 Thread Stipe Tolj
Corinna Vinschen wrote: > > On Fri, Jan 25, 2002 at 02:09:25PM +0100, Sylvain Petreolle wrote: > > Hi, > > > > I installed a few days ago mysql server 3.23.25 for > > Windows (i'm running latest cygwin with Windows ME). > > [...] > > What could I do to solve the problem ? > > Dunno. The MySQL f

Problem installing Tcl Perl module

2002-01-25 Thread Per Magne Knutsen
I need to install the Perl Tcl and Tcl::Tk modules from CPAN. At the end of the installation, make fails. I think this is related to some libraries the CPAN module cannot find, specifically referenced as: -ltcl -ltk and -lX11 I think whats happening (supposed to happen...) is that these libra

rsync as server on cygwin

2002-01-25 Thread Luke Bakken
Hi all, I've sucessfully gotten rsync to run as a server under Cygwin + NT if I use the ssh method of transferring files. However, when trying to use the rsync only method I get the following error: rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (co

strange printing problem in cygwin

2002-01-25 Thread Jeff Lu
Hi, I have a c program that sends data output to different printers. Here is the code: int main() { FILE *printHandle; char contentType[] = "text/html", buffer[100]; printf("Content-Type: %s\n\n", contentType); strcpy(buffer, "This is a test\n"); printHandle = fopen("//pc0/printer0

Re: A cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Robert Collins
=== - Original Message - From: "Charles Wilson" <[EMAIL PROTECTED]> > > > > So, in this instance you'd have: > > > > /usr/H-i686-pc-cygwin/i686-pc-mingw32 > > > Yeah, but don't we want to *avoid* colliding with the GNUpro stuff? If > that's where Red Hat puts the various cygwin-hosted/oth

Re: SSHD problems on Windows 2000 Professional

2002-01-25 Thread Wu Yongwei
Terribly sorry for my own mistake. I did not try export CYGWIN=ntsec chown SYSTEM ssh_host_* Never thought it would have any difference. I was really not used to using Unix commands in a Windows environment and had not found how to change ownership to SYSTEM by Windows Explorer. Shy. Wu Yo

Re: A cygwin hosted MinGW targeted cross platform

2002-01-25 Thread Christopher Faylor
On Fri, Jan 25, 2002 at 04:23:30PM -0500, Charles Wilson wrote: >Christopher Faylor wrote: >>Red Hat uses something like: >> >>/usr/H-i686-pc-cygwin >> >>for the cygwin "H"osted tools. >> >>Underneath that you get something like: >> >>i686-pc-cygwin >>i686-pc-linux >>etc. >> >>for the targeted too

Need a customised version of PostgreSQL 7.1.3 on cygwin

2002-01-25 Thread Justin Clift
Hi guys, We're looking into a problem with PostgreSQL 7.1.3 on a recent version of Cygwin. We have a problem in that its really, really hard (aka impossible) to figure out what's going wrong in our code because there are no debugging symbols present with the Cygwin build of PostgreSQL (which is

Re: Need a customised version of PostgreSQL 7.1.3 on cygwin

2002-01-25 Thread Robert Collins
=== - Original Message - From: "Justin Clift" <[EMAIL PROTECTED]> > > Well, it doesn't *look* very interesting: > > > (gdb) bt > > #0 0x778a018d in ?? () > > #1 0x77e7758a in ?? () > > Nope, you're right :-(. Can you rebuild PG with debug symbols? > (Add --enable-debug to configure, o

Re: Need a customised version of PostgreSQL 7.1.3 on cygwin

2002-01-25 Thread Tom Lane
"Robert Collins" <[EMAIL PROTECTED]> writes: > (gdb) bt > #0 0x778a018d in ?? () > #1 0x77e7758a in ?? () > These addresses are in MS dll memory space anyway, not PG or cygwin. Okay ... so what do we do next? regards, tom lane -- Unsubscribe info: http://cygwin.com

Re: Descriptor passing between process

2002-01-25 Thread Robert Collins
=== - Original Message - From: "egor duda" <[EMAIL PROTECTED]> To: "Corinna Vinschen" <[EMAIL PROTECTED]> Sent: Friday, January 25, 2002 3:18 AM Subject: Re: Descriptor passing between process > Hi! > > Thursday, 24 January, 2002 Corinna Vinschen [EMAIL PROTECTED] wrote: > > CV> It *cou