Logging-in using ssh elevates the user privilege.

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Mar 8 14:52:00 GMT 2019


Hi Andrew,

On Mar  8 23:46, Takashi Yano wrote:
> Hi Corinna,
> 
> Thanks for your advice.
> 
> On Fri, 8 Mar 2019 15:11:18 +0100 Corinna Vinschen wrote:
> > > In Linux, connect() in the client returns befor the
> > > server calls accept(). However, in cygwin, connect()
> > > does not return until the server calls accept().
> > 
> > This is a result of the handshake to exchange credentials for
> > getpeereid().  To workaround this issue, try building screen
> > with a tweak.  Server and as client should call
> > 
> >   setsockopt (sock, SOL_SOCKET, SO_PEERCRED, NULL, 0);
> > 
> > before calling accept or connect.
> 
> Following your advice, I tried the patch attached and
> confirmed the problem regarding -Q option is solved.

any chance to rebuild screen with the patch from
https://cygwin.com/ml/cygwin/2019-03/msg00167.html


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20190308/d1bd2b62/attachment.sig>


More information about the Cygwin mailing list