delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/23/11:54:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <476E92A7.CDBA3245@dessent.net>
Date: Sun, 23 Dec 2007 08:53:59 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Struggling to setup sshd with Windows Vista
References: <96c450350712230222s3549d224m75974cd082bf71a3 AT mail DOT gmail DOT com> <96c450350712230448q14dc0ac3s34e85de08d9b6e9f AT mail DOT gmail DOT com> <476E5B79 DOT 32FAFCE AT dessent DOT net> <fkm2ut$p7i$1 AT ger DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Thorsten Kampe wrote:

> > > $ /usr/sbin/sshd -d -d -d -D
> >
> > That's a very bad idea.
> 
> Kevin is obviously trying to debug things (noticed the triple "-d"?)
> so this is a really good idea...

I know what the sshd options mean, and no, it's really not a good idea
in the slightest.  Trying to debug sshd by starting it as a user is all
kinds of wrong.  All the file permissions will be wrong, so even if
things are perfectly setup correctly, this will fail.  If you modify the
permissions to make this "debugging" work then the service will then
fail to start, and as I already said normal users lack the required
privileges to switch user context so this "debugging" will do nothing
but prove you can break things.  It's a thoroughly bad idea unless you
are running a SYSTEM-owned shell.

Brian

--
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