delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/17/08:24:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 17 Jan 2001 16:18:48 +0300
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.45) Personal
Reply-To: Egor Duda <cygwin AT cygwin DOT com>
Organization: DEO
X-Priority: 3 (Normal)
Message-ID: <8375547892.20010117161848@logos-m.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: Cygwin commands crashes after ssh login
In-reply-To: <20010117125709.A32026@cobold.vinschen.de>
References: <H0001a1a08602f71 DOT 0979632472 DOT tms1 DOT han DOT telia DOT se AT MHS>
<003c01c07fb9$9e2e84e0$360510ac AT ERDELYM>
<20010116143232 DOT A30565 AT cobold DOT vinschen DOT de>
<292918837 DOT 20010116200818 AT logos-m DOT ru> <20010117125709 DOT A32026 AT cobold DOT vinschen DOT de>
Mime-Version: 1.0

Hi!

Wednesday, 17 January, 2001 Corinna Vinschen cygwin AT cygwin DOT com wrote:

>> btw, did you notice that if you try to login to _different_ account in
>> this configuration, sending SIGINT by pressing Ctrl-C from client side
>> doesn't work?

CV> Works for me but my account used for starting sshd is in the local
CV> admin group. Could you test this in your environment, too, and
CV> report if that solves your problem?

Uh,   you're  right. i was starting inetd from non-admin account. after
restarting it from any admin account everything works fine.

i've  just realized that doing otherwise, cygwin would allow one process
to  send  signals  to  other  process  started from different account.
unices don't allow this, and neither should cygwin.

i think you can add something like this to README file

== openssh-*.*.*.README ==
...
- If you want to be able to login to different user accounts you'll
  have to start sshd under system account or any other account that
  is able to switch user context. Note that administrators are _not_
  able to do that by default! You'll have to give the following
  special user rights to the user:
  "Act as part of the operating system"
  "Replace process level token"
  "Increase quotas"
  and if used via service manager
  "Logon as a service".

+  This user should also be a member of local "Administrators" group.
...
==========================

or   "we   recommend   you   to   make  this  user a member of  local
"Administrators" group, otherwise Ctrl-C won't work!" :-)

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019