X-Spam-Check-By: sourceware.org
Date: Sun, 29 Oct 2006 15:35:52 -0500 (EST)
From: Igor Peshansky <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Thorsten Kampe <thorsten@thorstenkampe.de>
cc: cygwin@cygwin.com
Subject: Re: using sshd as a non-administrator: minor issues and an aliasing   question
In-Reply-To: <eho4o4$8po$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0610291532140.22731@access1.cims.nyu.edu>
References: <6989476.post@talk.nabble.com> <eho4o4$8po$1@sea.gmane.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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

On Wed, 25 Oct 2006, Thorsten Kampe wrote:

> * eyalroz (Wed, 25 Oct 2006 03:18:26 -0700 (PDT))
>
> > 3. How do I add new username/password combinations other than my real
> > NT username and password? I want the sshd to only accept
> > myalias/tehfauxpass instead of myrealuser/therealpass , and of course
> > not try to switch users to myalias but rather allow work as
> > myrealuser.
>
> Can't be done in my opinion as /etc/passwd is just a wrapper to the
> SAM where the real password hashes are stored.

Well, technically, if you omit the SID from the passwd entry, Cygwin may
use the crypt'ed password in the second field, but the resulting user
token would be pretty useless, as it will bear no relation to the real
Windows user...  Corinna will probably have more to say on this...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.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/

