delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/04/17:27:28

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 4 Mar 2004 17:26:50 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Daniel Danger Bentley <dbentley AT stanford DOT edu>
cc: cygwin AT cygwin DOT com
Subject: Re: problems with a new account, sshd, mkpasswd, and login
In-Reply-To: <023d01c40232$d96d3610$1d5a0c80@mencken>
Message-ID: <Pine.GSO.4.56.0403041715520.6687@slinky.cs.nyu.edu>
References: <020e01c40222$1a805c60$1d5a0c80 AT mencken> <Pine DOT GSO DOT 4 DOT 56 DOT 0403041511200 DOT 25200 AT slinky DOT cs DOT nyu DOT edu> <023d01c40232$d96d3610$1d5a0c80 AT mencken>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

Dan,

On WinNT-based systems (NT/2k/XP), the normal Windows passwords are used
for authentication (i.e., Cygwin passes the userid and password to
Windows).  On Win9x/ME the password can actually be "crypt"ed into the
password field of the user in /etc/passwd.

Are you running the Windows version of ssh?  Try using the Windows user
manager to change the password and then log in via ssh.

As for the passwd question -- I don't know, it just says that.  Looking at
the sources, the whole string is hard-coded in there, so...  Maybe it's a
joke on Corinna's part to see if anybody noticed anything strange?.. ;-)
I don't think these limits are actually enforced.

HTH,
	Igor

On Thu, 4 Mar 2004, Daniel Danger Bentley wrote:

> At the moment, the more infuriating problem is the inability to login over
> ssh.  So I guess my question is:  where does ssh check the passwd?
> /etc/passwd doesn't seem to contain the information, and I was under the
> impression that the windows and the cygwin passwords were not synchronized.
>
> While I'm on it:  why does passwd say 5 letters minimum, 8 letters maximum
> for a password?
>
> Thanks,
> Dan
>
> ----- Original Message -----
> To: "Daniel Danger Bentley" <dbentley<at>stanford<dot>edu>
> Cc: <cygwin<at>cygwin<dot>com>
> Sent: Thursday, March 04, 2004 12:15 PM
> Subject: Re: problems with a new account, sshd, mkpasswd, and login
>
> > On Thu, 4 Mar 2004, Daniel Danger Bentley wrote:
> >
> > > I attempted to create a new account on my machine.  I added the user
> > > in XP. Then I did mkpasswd -l > /etc/passwd.  I started and stopped
> > > sshd using net. Also, I may have inadvertantly used passwd on both
> > > the old and new account to change the passwd.  I have since mkpasswd
> > > -l'ed and passwd'ed each account to the password I want.  But when I
> > > ssh in, I can login to neither account.  Any ideas?
> >
> > Daniel,
> >
> > Do the accounts have valid SIDs?  Do they belong to groups that have valid
> > SIDs in your /etc/group file?  Is the default shell for each user
> > executable by that user?  Is a user's home directory accessible by that
> > user?  What does adding a '-vvv' flag to ssh show?
> >
> > > Also, when I just use login to log into the new account, I get
> > > permission denied on /bin/bash.  Any ideas there?
> > >
> > > Thanks,
> > > Dan
> >
> > Does <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID> make things
> > clearer?
> > Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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