This is the mail archive of the
mailing list for the Cygwin project.
Re: Logging-in using ssh elevates the user privilege.
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Thu, 7 Mar 2019 20:14:39 +0900
- Subject: Re: Logging-in using ssh elevates the user privilege.
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x27BEZFg020913
On Wed, 06 Mar 2019 19:33:17 +0100 Achim Gratz wrote:
> This has been the case for as long as I use ssh logins and is by design.
> You can drop privileges after logon (see cygdrop), but not aquire new
> So if that's changed behaviour for you, then your ssh logins didn't
> actually work the way you thought they were.
Thank you for your reply. I had tried cygdrop, and confirmed that
the problems below cannot be solved by cygdrop.
But I don't understand why...
On Thu, 7 Mar 2019 01:00:00 +0900 Takashi Yano wrote:
> Because of this behaviour, the process started in a ssh
> session cannot be killed from a normal mintty session.
> This also causes gnu screen to freeze.
> To reproduce this:
> (1) Start screen in mintty window.
> (2) Detatch from the screen (Ctrl-A d).
> (3) Login via ssh.
> (4) Attach screen by 'screen -r' in ssh session.
> (5) Detach from the screen (Ctrl-A d).
> (6) screen freezes and is not terminated normally.
Takashi Yano <email@example.com>
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple