Seteuid "operation not permitted" error when using LSA for sshd

Corinna Vinschen
Tue May 29 12:57:00 GMT 2012

On May 29 12:41, Mark Pattie wrote:
> I have now removed Cygwin completely from the server and reinstalled.
> I am using the default service account that Cygwin creates for sshd
> (cyg_server), removed the "create a token object" permission for this
> account and configured the LSA package but have the same problem. Any
> advice on troubleshooting this issue further or any insight would be
> great.

There's nothing you can do.  I have tested this scenario and it turns
out that it's a problem with the cyglsa DLL itself, not even related
to the permissions, but a generic problem.

I have fixed that in CVS (tested on W7 and XP).  The next developer
snapshot (I will create one today or tomorrow) on will contain this patch.  Just rip the
cyglsa.dll file from the cygwin-inst-YYYYMMDD.tar.bz2 package, copy
it to the /bin/cyglsa directory and reboot.  This should hopefully
fix your problem.  Please report back.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list