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

Corinna Vinschen
Thu Aug 2 09:16:00 GMT 2012

On Aug  1 18:43, David Koppenhofer wrote:
> Corinna Vinschen <corinna-cygwin <at>> writes:
> I'm trying to get Cygwin sshd working with public key authentication on a Server
> 2008R2 box.  I don't have the "create a token object" permission either, so
> followed the information in this thread to try to get LSA working:
> I ran the /usr/bin/cyglsa-config script, downloaded the
> cygwin-inst-20120530.tar.bz2 snapshot, and extracted the cyglsa64.dll file to
> /bin/cyglsa/

Why did you install cyglsa64 from the old snapshot?  The changes to
cyglsa are supposed to be in the Cygwin 1.7.16 package anyway.  I just
checked the cyglsa64.dll binary and it looks ok.  I installed Cygwin
1.7.16 on my 2008R2 test machine, ran cyglsa-config, rebooted, and
started the sshd service, and it works for me.

> I rebooted the server, made sure the sshd service was running, but I still
> receive the "sshd: PID 3064: fatal: seteuid 1000: Operation not permitted" error.

Does the service account have TCB privileges?  That's a hard requirement
for the user switch.


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