This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: problems with a new account, sshd, mkpasswd, and login
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Daniel Danger Bentley <dbentley at stanford dot edu>
- Cc: cygwin at cygwin dot com
- Date: Thu, 4 Mar 2004 15:15:13 -0500 (EST)
- Subject: Re: problems with a new account, sshd, mkpasswd, and login
- References: <020e01c40222$1a805c60$1d5a0c80@mencken>
- Reply-to: cygwin at cygwin dot com
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@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.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/