Menu

#42 processCreated=False, win32error=6

v1.0 (example)
closed
nobody
General (24)
5
2008-12-02
2008-11-19
Morty
No

I have a system where sudowin used to work. It recently stopped working at the step where it creates the process. For example, if I set up sudowin to allow me to run bash, and then run "sudo bash" with the correct password, I get no errors, but bash doesn't actually start. If I type the wrong password, sudowin correctly tells me "Invalid logon attempt", and if I type "sudo ook" or something else that I am denied, with the correct password, sudowin correctly tells me "command not allowed."

I set switchValue=All in Sudowin.Server.exe.config. The log file service.log shows that for CreateProcessAsUser, processCreated=False, win32error=6. Microsoft docs say this error is ERROR_INVALID_HANDLE. The last few lines, which show the call, are attached.

Help?

This is probably not the fault of sudowin itself. A third party product installs Microsoft updates and makes config changes to the system. I suspect that the problem is one of the updates or config changes. However, I'm not really sure where to look. So any pointers as to what the above means would be much appreciated.

Thanks!

Discussion

  • Morty

    Morty - 2008-11-19

    log file demoing problem

     
  • Morty

    Morty - 2008-11-19

    BTW: this is Windows 2003 SP2, 32-bit.

     
  • Morty

    Morty - 2008-11-19

    Also, I originally had the problem under sudowin-bin-0.4.1-r185.msi. I tried upgrading to sudowin-bin-0.4.2-r208.msi (via uninstall old and install new), but the same problem occurred.

     
  • Morty

    Morty - 2008-12-02

    akutz suggested checking terminal services. I did. It was disabled. Fixed.

    I would suggest making the sudowin service depend on terminal services and seclogon using the following syntax:

    sc config sudowin depend= seclogon/termservice

     
  • Morty

    Morty - 2008-12-02
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB