SSHD on NT4...

2002-11-15 Thread Johannes E. Schindelin
Hi, I have NT4 with SP4 (as it is a Visual Workstation from SGI, I may not upgrade). Now, SSHD doesn't start as a service. Only if I let it start as Administrator, not as LocalSystem or another user. But if I start it as Administrator, sshd cannot cygwin_logon_user()! I attached the /etc/group f

Re: SSHD on NT4...

2002-11-15 Thread Corinna Vinschen
On Fri, Nov 15, 2002 at 12:44:41PM +0100, Johannes E. Schindelin wrote: > Hi, > > I have NT4 with SP4 (as it is a Visual Workstation from SGI, I may not > upgrade). Now, SSHD doesn't start as a service. Only if I let it start > as Administrator, not as LocalSystem or another user. > > But if I st

Re: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, > > I attached the /etc/group file also, because the files which normally > > should belong to group "SYSTEM" now all belong to "Kein", maybe that > > helps? > > Which files do you mean? Didn't chown help? Any hint in > /var/log/sshd.log or in the WIndows event log? The files I meant are /e

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
SSHD on NT4... Hi, > > I attached the /etc/group file also, because the files which > > normally should belong to group "SYSTEM" now all belong to "Kein", > > maybe that helps? > > Which files do you mean? Didn't chown help? Any hint in > /v

RE: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, > Check services's configuration files permissions. I bet local system > account has no read access to the configuration files. If you mean /etc/ssh*, they all belong to SYSTEM.SYSTEM (I also tried other combinations; none help). If you don't, which do you mean? Ciao, Dscho -- +++ GMX -

Re: SSHD on NT4...

2002-11-15 Thread Igor Pechtchanski
On Fri, 15 Nov 2002 [EMAIL PROTECTED] wrote: > Hi, > > > > I attached the /etc/group file also, because the files which normally > > > should belong to group "SYSTEM" now all belong to "Kein", maybe that > > > helps? > > > > Which files do you mean? Didn't chown help? Any hint in > > /var/log/ss

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
To: [EMAIL PROTECTED] Subject: RE: SSHD on NT4... Hi, > Check services's configuration files permissions. I bet local system > account has no read access to the configuration files. If you mean /etc/ssh*, they all belong to SYSTEM.SYSTEM (I also tried other combinations; none hel

RE: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, > What is the output of "ls -l /etc/ssh*" and "ls -l /usr/sbin/sshd.exe"? > Please check the rwx attributes of /etc, /usr and /usr/sbin directories. These are all "drwxrwxrwx". > mount -m | grep cygwin Yields mount -f -s -t "d:/cygwin/bin" "/usr/bin" mount -f -s -t "d:/cygwin/lib" "/usr/li

RE: SSHD on NT4...

2002-11-15 Thread Harig, Mark A.
> > > What is the output of "ls -l /etc/ssh*" and "ls -l > /usr/sbin/sshd.exe"? > > Please check the rwx attributes of /etc, /usr and /usr/sbin > directories. > > These are all "drwxrwxrwx". > The /etc/ssh_host*key files should be set to 600, not 777. None of the other /etc/ssh* configuration

RE: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, my permissions are -rw-rw-rw-1 SYSTEM Kein [...] /etc/ssh_config -rw---1 SYSTEM Kein [...] /etc/ssh_host_dsa_key -rw-r--r--1 SYSTEM Kein [...] /etc/ssh_host_dsa_key.pub -rw---1 SYSTEM Kein [...] /etc/ssh_host_key -rw-r--r--1 SYSTEM Kein [...] /etc/ssh_hos

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
Are there some errors in the application event log wheh sshd runs as a service? -Original Message- From: [EMAIL PROTECTED] [mailto:Johannes.Schindelin@;gmx.de] Sent: Friday, November 15, 2002 11:52 AM To: [EMAIL PROTECTED] Subject: RE: SSHD on NT4... Hi, my permissions are -rw-rw-rw

RE: SSHD on NT4...

2002-11-15 Thread Harig, Mark A.
What is the output of 'ls -ln /etc/ssh*'? > -Original Message- > From: [EMAIL PROTECTED] [mailto:Johannes.Schindelin@;gmx.de] > Sent: Friday, November 15, 2002 11:52 AM > To: [EMAIL PROTECTED] > Subject: RE: SSHD on NT4... > > > Hi, > > my per

RE: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, > Are there some errors in the application event log wheh sshd runs as a > service? Yes. An Error: Something about Event-ID 0 (Description not found). At the end it says "starting service `sshd' failed: execv: 255, error 255." And an information that sshd stopped. It is in German, so I don'

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
Looks like cygrunsrv or sshd have no execution permissions for local system account. -Original Message- From: [EMAIL PROTECTED] [mailto:Johannes.Schindelin@;gmx.de] Sent: Friday, November 15, 2002 12:00 PM To: [EMAIL PROTECTED] Subject: RE: SSHD on NT4... Hi, > Are there some err

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
Or cygwin1.dll is unaccessible to that account... -Original Message- From: Sergei Okhapkin Sent: Friday, November 15, 2002 12:03 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: SSHD on NT4... Looks like cygrunsrv or sshd have no execution permissions for local system account

RE: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, > Looks like cygrunsrv or sshd have no execution permissions for local > system account. Yes, it looks like that, but on the other hand, I can execute both as another user (me), and running them as service as another user (me) fails all the same. > Or cygwin1.dll is unaccessible to that acco

RE: SSHD on NT4...

2002-11-15 Thread Harig, Mark A.
> Sent: Friday, November 15, 2002 12:05 PM > To: Sergei Okhapkin; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: SSHD on NT4... > > > Or cygwin1.dll is unaccessible to that account... > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
>Is there some way in Windows to trace the service startup in a useful manner? "at XX:YY /interactive cmd" The command prompt window running with a local system account will appear on the screen at XX hrs YY mins. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting

Re: SSHD on NT4...

2002-11-15 Thread Johannes . Schindelin
Hi, the tip with "at xx:yy /interactive cmd" helped! I now only have the problem that I know that only Administrator gets the right root directory (d:\cygwin), but all the others only get a wrong one (e:\). My WINNT is installed on E:\, because I cannot have a bigger C:\ (no BIOS, but a PROM, so

RE: SSHD on NT4...

2002-11-15 Thread Sergei Okhapkin
mount -s d:/cygwin / -Original Message- From: [EMAIL PROTECTED] [mailto:Johannes.Schindelin@;gmx.de] Sent: Friday, November 15, 2002 3:42 PM To: [EMAIL PROTECTED] Subject: Re: SSHD on NT4... Hi, the tip with "at xx:yy /interactive cmd" helped! I now only have the problem t

RE: SSHD on NT4...

2002-11-15 Thread Harig, Mark A.
textmode,cygdrive What effect is 'textmode' having on sshd or cygrunsrv? > -Original Message- > From: Sergei Okhapkin [mailto:sokhapkin@;LEAPSTONE.com] > Sent: Friday, November 15, 2002 3:49 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: SSHD o

Re: SSHD on NT4... (SOLVED!!!)

2002-11-15 Thread Johannes . Schindelin
Thank you all for your help! The problem was a "mount -u e:/ /" for the SYSTEM user. I think this came from an ancient installation of sshd1 with an ancient cygwin. Where are these stored? I tried to remove it in the registry, but to no avail. I had to start an interactive cmd ("at 12:00 /interact

RE: SSHD on NT4... (SOLVED!!!)

2002-11-15 Thread Harig, Mark A.
It would also be useful if the 'cygcheck -s' had displayed that this mount point existed. > -Original Message- > From: [EMAIL PROTECTED] [mailto:Johannes.Schindelin@;gmx.de] > Sent: Friday, November 15, 2002 3:57 PM > To: [EMAIL PROTECTED] > Subject: R

Re: SSHD on NT4... (SOLVED!!!)

2002-11-15 Thread Christopher Faylor
On Fri, Nov 15, 2002 at 04:52:58PM -0500, Harig, Mark A. wrote: >It would also be useful if the 'cygcheck -s' had displayed that this >mount point existed. It would be REALLY helpful if we had as many programmers working on the project as we did people with helpful suggestions. I can envision a n

RE: SSHD on NT4... (SOLVED!!!)

2002-11-15 Thread Igor Pechtchanski
d displayed that this mount point existed. > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: Friday, November 15, 2002 3:57 PM > > To: [EMAIL PROTECTED] > > Subject: Re: SSHD on NT4... (SOLVED!!!) > > > >

RE: SSHD on NT4... (SOLVED!!!)

2002-11-16 Thread Johannes E. Schindelin
Hi, On Fri, 15 Nov 2002, Harig, Mark A. wrote: > It would also be useful if the 'cygcheck -s' > had displayed that this mount point existed. > > > -Original Message- > > The problem was a "mount -u e:/ /" for the SYSTEM user. The problem was that I didn't know how to become SYSTEM in the

Re: SSHD on NT4... (SOLVED!!!)

2002-11-17 Thread Robert Collins
On Sat, 2002-11-16 at 09:00, Christopher Faylor wrote: > In that vein, can anyone think of other improvements to cygcheck? For > instance, maybe it could debug common /etc/passwd or /etc/group problems. > Or, maybe it could detect a NetworkSimplicity installation and optionally > uninstall it. I

Discussing NetworkSimplicity (was: Re: SSHD on NT4... (SOLVED!!!))

2002-11-17 Thread Max Bowsher
Robert Collins <[EMAIL PROTECTED]> wrote: > On Sat, 2002-11-16 at 09:00, Christopher Faylor wrote: > >> In that vein, can anyone think of other improvements to cygcheck? >> For instance, maybe it could debug common /etc/passwd or /etc/group >> problems. Or, maybe it could detect a NetworkSimplicit

Re: Discussing NetworkSimplicity (was: Re: SSHD on NT4...(SOLVED!!!))

2002-11-17 Thread Robert Collins
On Sun, 2002-11-17 at 20:35, Max Bowsher wrote: > Robert Collins <[EMAIL PROTECTED]> wrote: > But newbies wouldn't know to run it. 1) Link on the home page. 2) 'Help, installing cygwin fails. Run the pre-install checker from the homepage. Oh, that picked up *lots* of things, I've done what it s

Re: Discussing NetworkSimplicity (was: Re: SSHD on NT4... (SOLVED!!!))

2002-11-17 Thread Christopher Faylor
On Sun, Nov 17, 2002 at 08:48:48PM +1100, Robert Collins wrote: >On Sun, 2002-11-17 at 20:35, Max Bowsher wrote: >> Robert Collins <[EMAIL PROTECTED]> wrote: > > >> But newbies wouldn't know to run it. > >1) Link on the home page. I don't think "Link on the home page" is ever a serious solution fo