X-Spam-Check-By: sourceware.org
Message-Id: <1136402650.23812.251086493@webmail.messagingengine.com>
From: "Brett Serkez" <techie@serkez.net>
To: "Ordinary Olson" <olson_ord@yahoo.it>, cygwin@cygwin.com
Content-Disposition: inline
Content-Type: text/plain; charset="ISO-8859-1"
MIME-Version: 1.0
References: <20060104184314.89313.qmail@web26102.mail.ukl.yahoo.com>
Subject: Re: Cygwin SSHD Password different from Windows Password    =?ISO-8859-1?Q?=96?= Possible?
In-Reply-To: <20060104184314.89313.qmail@web26102.mail.ukl.yahoo.com>
Date: Wed, 04 Jan 2006 14:24:10 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k04JOaVK004494

I believe sshd will not allow login without both a password and home
directory.  The second requirement means you must start a login shell as
a given user to create their home directory.  This is a way of
controlling which accounts can login remotely.

Cygwin/Windows doesn't directly support su as UNIXies do.  Normally you
wouldn't allow direct remote login as an administrator/root, you'd force
login as an ordinary user and then su.  In this case, you don't have
that option, atleast not easily, perhaps use of a dedicated remote
account with a password would be appropriate, otherwise just use the
password on the administrator account for both.

I'm not sure if this would work with Cygwin's sshd, but I believe you
can disable password login and use public/private keys to authenticate. 
If their is no password, I am not sure if sshd will allow login based on
key authentication.

Brett


On Wed, 4 Jan 2006 19:43:14 +0100 (CET), "Ordinary Olson"
<olson_ord@yahoo.it> said:
> I have Windows XP set up with just a single account
> i.e. an Admin account with no admin password. I have
> installed cygwin in this account. 
>  
>             Is it possible that this cygwin sshd
> server runs with a password i.e. I want to maintain
> the Windows XP without a password, while the cygwin
> sshd server should have a password (for anyone trying
> to connect to it.)
>  
> I tried setting the cygwin password, and after that it
> seemed that my windows account also required the
> password to log in. 
> I have tried searching this topic online – but I don’t
> think I get anything. 
>  
> Thank you for taking your time to respond to this. 
> Regards,
> O.O. 
> 
> 
> 		
> ___________________________________ 
> Yahoo! Messenger: chiamate gratuite in tutto il mondo 
> http://it.messenger.yahoo.com
> 
> 
> --
> 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/
> 
----------------------------------------------------------------
Brett C. Serkez, Techie



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


