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',

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, . > > > Thanks. > > > > What about adding the "TOFU" acronym for these purposes? Otherwise > > you're missing to critizise the fullquo

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, > > > . > > > > Than

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, > > . > > > Thanks. > Also, I'm using Outlook (*gag*) at work which

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, > . > > 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 n

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, . > Thanks. What about adding the "TOFU" acronym for these purposes? Otherwise you're missing to critizise the fullquote. For the acronym TOFU see http://www.acronymfinder.com/af-que

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Igor Pechtchanski
Original Message- > > From: [EMAIL PROTECTED] On Behalf Of Aitken, Sean > > Sent: Friday, January 14, 2005 5:58 PM > > To: Pierre A. Humblet > > Cc: [EMAIL PROTECTED] > > Subject: RE: Problem running cygrunsrv with non SYSTEM accounts > > > > Hi Pierr

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-18 Thread Aitken, Sean
: Friday, January 14, 2005 5:58 PM > To: Pierre A. Humblet > Cc: cygwin@cygwin.com > Subject: RE: Problem running cygrunsrv with non SYSTEM accounts > > Hi Pierre, > > > Have you tried running a really simple service under account > > sshd_server, e.g. ones that simply ex

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 configurati

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 stat

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 >

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+

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 runn

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.m

RE: Problem running cygrunsrv with non SYSTEM accounts

2005-01-14 Thread David Arnstein
Sean Aitken wrote: > I have been fighting a problem with trying to run SSHD on a Windows... I just spent several hours getting a program to run as a service on Windows XP. I created a user account that only belongs to the "Users" group. I created my service to run in this account. But the serv

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 goo

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 w