This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin commands crashes after ssh login


Hi!

Wednesday, 17 January, 2001 Corinna Vinschen cygwin@cygwin.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@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]