delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/24/09:46:38

X-Spam-Check-By: sourceware.org
Date: Tue, 24 Jan 2006 09:46:26 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: JC Oosthuizen <jc DOT oosthuizen AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: ssh starting problems.
In-Reply-To: <37ce792e0601240245t740b7df1x3f89005ee5a8931d@mail.gmail.com>
Message-ID: <Pine.GSO.4.63.0601240943430.27934@access1.cims.nyu.edu>
References: <37ce792e0601190536x1268deaal93e2e8d7d5ec1b6a AT mail DOT gmail DOT com> <loom DOT 20060119T155435-657 AT post DOT gmane DOT org> <37ce792e0601240245t740b7df1x3f89005ee5a8931d AT mail DOT gmail DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, 24 Jan 2006, JC Oosthuizen wrote:

> > Did you use /usr/bin/ssh-host-config to set up sshd on the Win 2003
> > server? Currently I am running sshd on two such servers and set them
> > up using the script. The script should detect that you are using Win
> > 2003 and will ask if you want it to create a "sshd_server" user
> > account and assign the privileges it needs under Local Security Policy
> > to run properly. The sshd service should then be run under this
> > account.
>
> ssh was setup using ssh-host-config and worked correctly. I then
> upgraded cygwin by removing it and reinstalling it. In this process the
> sshd_server account was not deleted and was not recreated either. This
> caused the problems that occured. I just removed the sshd_server user
> and then ran ssh-host-config again and all worked as it should.

Ah, this is a clue.  By removing Cygwin, you probably also removed
/etc/passwd.  AIUI, without sshd_server in /etc/passwd, user context
switching won't work.  Re-running ssh-host-config added sshd_server to
/etc/passwd again.

I'm not too well-versed in the details of ntsed -- Corinna should be able
to confirm or deny the above.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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