This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problems with a new account, sshd, mkpasswd, and login


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@stanford.edu>
Cc: <cygwin@cygwin.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
> -- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]