RE: Problem running cygrunsrv with non SYSTEM accounts ($HOME problem?)

2005-03-01 Thread Aitken, Sean
See update below... I have been fighting a problem with trying to run SSHD on a Windows Server 2003 box. I have been able to narow the problem down a bit. I did post earlier to day, but have stumbled across what appears to be a strong lead on the solution. Facts: - With 'runas', I am

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Aitken, Sean
It does seem to be a problem with running cygrunsrv under non SYSTEM accounts then.. I have granted almost all privileges (via. Local Security Policy) to the sshd_server user. Also, I have tried this with a domain account added to the local Administrators (and granted RunAsService) with the same

Re: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Corinna Vinschen
On Jan 18 10:01, Igor Pechtchanski wrote: Ugh, top-posting... Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. What about adding the TOFU acronym for these purposes? Otherwise you're missing to critizise the fullquote. For the acronym TOFU see

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Aitken, Sean
On Jan 18 10:01, Igor Pechtchanski wrote: Ugh, top-posting... Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. What about adding the TOFU acronym for these purposes? Otherwise you're missing to critizise the fullquote. My sincere apologies. I must admit that I'm not a huge

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Aitken, Sean Sent: 18 January 2005 16:25 On Jan 18 10:01, Igor Pechtchanski wrote: Ugh, top-posting... Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Also, I'm using Outlook (*gag*) at work which doesn't seem

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Aitken, Sean Sent: 18 January 2005 16:25 On Jan 18 10:01, Igor Pechtchanski wrote: Ugh, top-posting... Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. Also, I'm using

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
On Tue, 18 Jan 2005, Aitken, Sean wrote: On Jan 18 10:01, Igor Pechtchanski wrote: Ugh, top-posting... Also, http://cygwin.com/acronyms/#PCYMTNQREAIYR. Thanks. What about adding the TOFU acronym for these purposes? Otherwise you're missing to critizise the fullquote. My sincere

Re: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Gerrit P. Haase
Aitken, Sean wrote: I have tried about anything. Does anyone know of any Win2K3 settings that would disallow certain acccounts from being worthy service runners? There is a policy that disallows all code running in kernel mode instead of user mode, is sshd running in kernel mode? If so it is a

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Aitken, Sean
David, Thank you for the suggestion! Unfortunately, I have already added the user 'sshd_server' to the 'Log on as a service' policy. In fact, the new version of ssh_host_config seems to have done this for me. Thanks again! -Sean I found that I had to launch the group policy editor gpedit.msc

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Dave Korn
-Original Message- From: cygwin-owner On Behalf Of Gerrit P. Haase Sent: 14 January 2005 09:12 To: Aitken, Sean Aitken, Sean wrote: I have tried about anything. Does anyone know of any Win2K3 settings that would disallow certain acccounts from being worthy service runners?

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Aitken, Sean
Thanks for the reply Dave, Anyway, if running as SYSTEM it writes to /var/log/sshd.log, but running as an ordinary user it fails, then it's almost certainly the case that sshd.log is owned by SYSTEM user because it was first created by SYSTEM user. If that's the case chmod a+rwx

Re: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Pierre A. Humblet
On Fri, Jan 14, 2005 at 10:10:29AM -0600, Aitken, Sean wrote: Thanks for the reply Dave, Also, nobody's told Sean to take a look in the windows event log yet, and see if there was any sign of life there. The only thing that appears in the event log is the service failure entries.

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Aitken, Sean
Hi Pierre, Have you tried running a really simple service under account sshd_server, e.g. ones that simply executes /bin/env or /bin/sleep 60 ? I created a test service, using 'sshd_server' as the runner. The program is /bin/env. It did the same thing. - No log file was created - The status

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread Pierre A. Humblet
At 04:57 PM 1/14/2005 -0600, Aitken, Sean wrote: I think this can be narrowed down into a general problem running 'cygrunsrv' on Windows Server 2003 under certain conditions. Since the machine was setup by someone else, I'm gonna try and get more info regarding security and policy configurations.

Problem running cygrunsrv with non SYSTEM accounts

2005-01-13 Thread Aitken, Sean
Hello all, I have been fighting a problem with trying to run SSHD on a Windows Server 2003 box. I have been able to narow the problem down a bit. I did post earlier to day, but have stumbled across what appears to be a strong lead on the solution. Facts: - With 'runas', I am able to start sshd