delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/17:14:16

X-Spam-Check-By: sourceware.org
Message-Id: <1136412844.15241.251100252@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: "Ordinary Olson" <olson_ord AT yahoo DOT it>, cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <20060104214058 DOT 49678 DOT qmail AT web26104 DOT mail DOT ukl DOT yahoo DOT com>
Subject: Re: Cygwin SSHD Password different from Windows Password - Possible?
In-Reply-To: <20060104214058.49678.qmail@web26104.mail.ukl.yahoo.com>
Date: Wed, 04 Jan 2006 17:14:04 -0500
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k04MEEIg027809

Cygwin creates a UNIX like password file /etc/passwd that links 'UNIX'
users back to Windows users, sshd uses this file to work back to Windows
security information.  Ultimately it has to be this way, as it is
Windows that is hosting security, so Cygwin needs to be able to map
accordingly.  You can 'cat /etc/passwd' to see the entries.

If you create a new Windows user and never login to Windows with that
id, the user profile will never be created.  Beyond this, I suppose you
could hand edit /etc/password and point the administrator entry to such
an account.  This may be close enough for your purposes, you would be
able to login as administrator locally without a password, need a
password for administrator remotely, but they would be different
accounts as far as Windows was concerned.  This may not be a bad thing
as you could use the two similar but different accounts to customize
security and auditing.

Brett


On Wed, 4 Jan 2006 22:40:58 +0100 (CET), "Ordinary Olson"
<olson_ord AT yahoo DOT it> said:
> Thanks to Brett and Larry for your replies. 
> 	If I understood Larry correctly – the Cygwin and
> Windows passwords are internally linked. Is there
> anyway i.e. any setting that I can use to unlink this
> i.e. can I have different passwords for Cygwin and
> Windows?
> 
> 	If this is not possible is it possible for me to make
> a new user in Cygwin without a new user being created
> in Windows – for me creating a new user in Cygwin also
> creates new users in Windows. 
> Thank you for your replies
> Regards,
> O.O. 
> 
> 
> --- "Larry Hall (Cygwin)"
> <reply-to-list-only-lh AT cygwin DOT com> ha scritto: 
> 
> > 
> > On NT platforms and up, cygwin's sshd defers to
> > Windows for password
> > authentication. Given that, one wouldn't be able to
> > have a password for a
> > user in Cygwin's world but not in Windows or vice
> > versa.
> > 
> > 
> 
> 
> 	
> 
> 	
> 		
> ___________________________________ 
> Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB 
> http://mail.yahoo.it
> 
> 
> --
> 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/


- Raw text -


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