RE: 1053 timely fashion and Win2K server

From: Nigel Johnson <nigel5_at_**********.***>
Date: Sat Feb 14 2004 - 04:10:22 EST

I wasn't sure what info to provide, so didn't the first time round.

The machine I am using already has OpenSSH setup and running elsewhere
(C:\Program Files\OpenSSH). But I am installing cygwin completely separately
(D:\cygwin\...) and running OpenSSH on a different port (2222) so should
have no problems.

The machine is not a domain controller, but does have at least 2 trusted
domains set up. The login account used to install cygwin is a local user,
and is in the administrator group. This user has login privs, and has "log
in as a service" privs.

The service start-up error is the same for this user ,or the local system
user "1053 did not start in a timely fashion" but the error appears
immediately on clicking on the "start" button, and not after attempting to
start anything.

Launching under "LocalSystem" (with all the ownership of the config files
setup to be SYSTEM:SYSTEM) and the interact with desktop button selected, A
dos screen does flash up with what looks like a start up message or some
output of some sort.... Not sure how to capture this. The instructions on
launching a bash and operating things under there do not work on my versions
of XP, 2k pro or 2k server, and again on my production box (2k server
ebusiness hosted with IBM).

I have tried setting the ownership of the files under cygwin to be
SYSTEM:SYSTEM "chown -R SYSTEM:SYSTEM /*" and running the service as
LocalSystem.

Setting ownership of all files to be sshd:544 and running as sshd account
(with a new password) incase of the priv sep thing.

Setting the ownership of all files to be my localadmin user and launching as
that user

Setting ownership of everything to be sshd and setting all ssh config and
executables to be my local admin user... All with the same faults.

My local admin account is the only account I physically can log in as
(through terminal server), and when all files are set to be owned by that
user, I can launch "sshd -d -d -d" from a command prompt. On connecting from
the same local admin user on locahost I get shed loads of debug at both
ends, but the final couple lines before it bombs out say "/bin/bash: access
denied."

The perms of /bin/bash seemed screwy: 700. I changed this to be 755, with
the same effect. Changing owner to the sshd account had no effect either (in
case its actually running as sshd after starting up as my local admin...
Must admit I don't understand priv sep under windows properly)

Initially, I did have problems with running the ssh-host-config command...
The service would not install "The path specified does not point to a valid
executable"

I played for a while, and eventually modified the path env var under the
system wide environmental variables, to add the cygwin/bin directory....
Seemed to fix the install of the service.... But since then I have the
1053... Maybe rebooting will propagate the path variable to the services...
This will occur today sometime...

As for output... I have never really found it useful in the past, Nothing in
/var/log/sshd... The event log just shows a service failure.. I didn't look
any harder as it has never been that helpful before. If it would help, I'll
look again on Monday, but any help you can provide before then would be
greatly appreciated.

Hope that's a bit more info :)

Cheers
Nigel

-----Original Message-----
From: ssh-bounces@erdelynet.com [mailto:ssh-bounces@erdelynet.com] On Behalf
Of Ben Voigt
Sent: 13 February 2004 20:40
To: 'Secure Shell Discussions'
Subject: RE: 1053 timely fashion and Win2K server

Domain controller? The user must have the "log on locally" privilege.

Password or public-key login?

Anything appearing in the event logs? From service manager? From sshd
itself?

Can't help until you provide more details.

****************************

Ben Voigt
University of Pennsylvania
Electrical Engineering PhD Candidate

voigt@seas.upenn.edu <mailto:voigt@seas.upenn.edu>
BVoigt@kas.com <mailto:BVoigt@kas.com>

Support a Constitutional Amendment to protect the Pledge of Allegiance and
National Motto.
Click here for more information. <http://www.wepledge.com/>

****************************

-----Original Message-----
From: ssh-bounces@erdelynet.com [mailto:ssh-bounces@erdelynet.com]On
Behalf Of Nigel Johnson
Sent: Friday, February 13, 2004 2:21 PM
To: 'Secure Shell Discussions'
Subject: 1053 timely fashion and Win2K server

 Hi again.

After testing an install on XP, and a vanilla version of 2k server, I have
moved into the production world and now have 2 distinct problems.

Cygwin was installed with a local admin account, and all the configuration
was set up with this account.

1) cannot start service cuz I get a 1053 Win32 error: failed to respond in a
timely fashion... Instantaneously... Even when I run it under the install
user.

2) eventually managing to run the sshd.exe as a user off the command line,
on attempting to log in, there is a failure /bin/bash: access denied, and it
craps out.

Any ideas how I can get round these... Other than using a decent OS... Which
I have suggested, but IBM were not that keen...

:)

Cheers
Nigel

--
List Information: https://mail.erdelynet.com/mailman/listinfo/ssh/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to
https://mail.erdelynet.com/mailman/options/ssh#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
---
--- Incoming mail is certified Virus Free by AVG ---
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.581 / Virus Database: 368 - Release Date: 2/9/2004
--
List Information: https://mail.erdelynet.com/mailman/listinfo/ssh/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to
https://mail.erdelynet.com/mailman/options/ssh#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
--
List Information: https://mail.erdelynet.com/mailman/listinfo/ssh/
List Archives:    http://erdelynet.com/archive/ssh-l/
To Unsubscribe: Go to https://mail.erdelynet.com/mailman/options/ssh#subscribers
and enter your email address at the bottom.
If you don't know your password, have it emailed to you. Then unsubscribe.
Received on Sat Feb 14 04:15:54 2004

This archive was generated by hypermail 2.1.8 : Fri Jul 29 2005 - 17:34:06 EDT