X-Spam-Check-By: sourceware.org Date: Tue, 24 Jan 2006 09:46:26 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: JC Oosthuizen cc: cygwin AT cygwin DOT com Subject: Re: ssh starting problems. In-Reply-To: <37ce792e0601240245t740b7df1x3f89005ee5a8931d@mail.gmail.com> Message-ID: References: <37ce792e0601190536x1268deaal93e2e8d7d5ec1b6a AT mail DOT gmail DOT com> <37ce792e0601240245t740b7df1x3f89005ee5a8931d AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/