cygrunsrv will not start services most of the time

2009-03-26 Thread Robert Jacobson
One of the first things I do on a new computer is install cygwin and openssh to get sshd access to it. (setting it up with ssh-host-config -y). Unfortunately, I seem to have a problem with cygrunsrv (version 1.34-1). Most of the time (say, 7 out of 10 times), it will not start the service.

Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Robert Jacobson
Dave Korn wrote: What's on your services list? Got Logitech Process Monitor at all? Anything that isn't part of windows itself? I have iTunes installed, so I these services (which I stopped but did not uninstalled) Apple Mobile Device Bonjour Service iPod Service I

Re: cygrunsrv will not start services most of the time

2009-03-26 Thread Robert Jacobson
Dave Korn wrote: Entrust Login Interface seems a likely one to interfere with the launching of processes that change user id. (IIRC answering -y to ssh-host-config will have enabled privsep). It's probably worth the hassle of a couple of reboots to find out if it's doing so. I guess I

Re: cygrunsrv will not start services most of the time

2009-03-30 Thread Robert Jacobson
Dave Korn wrote: :-( I'm starting to run out of ideas. This is the point at which I'd start single-stepping through early process startup in a debugger, trying to see why it fails. I'd love to do that, but I think it's beyond my technical abilities. I mean, I'm not even sure where to

Re: cygrunsrv will not start services most of the time

2009-04-03 Thread Robert Jacobson
Well, I found the culprit. It seems that Google Desktop was causing the problem, because after I installed it, I had zero problems starting cygrunsrv services. I only have two machines with both Google Desktop and cygrunsrv services. It works fine on the other machine. Oh well, I need an SSHD

Re: cygrunsrv will not start services most of the time

2009-04-03 Thread Robert Jacobson
Robert Jacobson wrote: I only have two machines with both Google Desktop and cygrunsrv services. It works fine on the other machine. This seems to be a known issue with the current version. There are two workarounds: 1) install an older version 2) Rename a registry key to prevent the Google

Re: cygrunsrv will not start services most of the time

2009-04-06 Thread Robert Jacobson
Dave Korn wrote: Argh, sorry about that. I just updated the BLODA sources in CVS to mention Google Desktop the other day, but we haven't refreshed the website yet, :-P That would have saved me some troubleshooting time! I swear I searched Google for Google desktop cygrunsrv and I didn't

sshd in a domain

2010-06-24 Thread Robert Jacobson
to the 'id' commmand, I'm not in group 544(Administrators). I'm not even in the regular Users group! Obviously I've done something wrong... Help, please! -- Robert Jacobson #include std_disclaimer.h -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq

Re: CygWin Security amp;amp; Performance Issues

2010-08-12 Thread Robert Jacobson
On 8/12/2010 10:02 AM, Corinna Vinschen wrote: Ok, I'll not waste my time and reply to you another time. That makes both of us happy. Is this what passes for professional behavior at Red Hat? -- Rob -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: sshd in a domain

2011-05-05 Thread Robert Jacobson
On 6/24/2010 9:24 AM, Robert Jacobson |cygwin/Example Allow| wrote: I need some help to get sshd working so that when I login using public-key auth to my domain account (which has local administrator privileges), it actually has the Adminisitrator privs. The platform is Windows XP Pro

Re: Any way to prevent programs like Vim from clearing scrollback buffers?

2011-05-05 Thread Robert Jacobson
For vim specifically, the following line in ~/.vimrc should prevent that: set t_ti= t_te= For man -- it uses less by default as a pager. So, you can set the environment variable LESS to include the character X. man . export LESS=X Note that the above will also prevent less from clearing the

Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-23 Thread Robert Jacobson
, and then click Yes. I'd like to let them install it, but obviously I don't want to give them admin privs. What else can I do to workaround this? -- Robert Jacobson -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http

Re: Installing cygwin on Windows 7 prompts for Admin credentials

2011-06-24 Thread Robert Jacobson
On 6/24/2011 4:39 AM, Corinna Vinschen wrote: Or rename setup.exe to foo.exe. Thanks! I'm both relieved and dismayed that it is so easy to bypass ... -- Robert Jacobson -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

sshd: testing whether login was via public key or password?

2016-01-29 Thread Robert Jacobson
Hi, Short version: "schtasks /change" fails because I used SSH public key auth. I'd like to add error checking to script I run, so that it exits if the user doesn't have the right session token (password), and "fix" SSH public key login so I get the right privileges. How best to do that?