Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3D0E76C5.9090507@dobrianov.net> Date: Mon, 17 Jun 2002 19:54:45 -0400 From: Ivan Dobrianov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 X-Accept-Language: en-us, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: /etc/passwd, username, password, and ssh Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit I have this really dumb question, but I could not find any document or mail that clarifies that issue: o I install Cygwin. I am not "Administrator" in Windows terms, though I have admin privileges. o All runs great until one day I decide to run sshd. I configure and then start /usr/sbin/sshd and all looks well. o Now I try to login using ssh from a different [or the same] machine and I get a prompt: Administrator AT w2kts's password: Huh? Password? Cygwin has never asked me for ANY password ever before! Which password does it want: the "real" Windows admin [which I don't know] or mine? Neither works. o I go back to the host machine and type passwd: ~> passwd.exe passwd: unknown user ivan dobrianov ~ > whoami Administrator ~ > id uid=500(Administrator) gid=513(None) groups=513(None) Then I do: /etc > mkpasswd.exe -d | egrep -i ivan >> passwd which adds some more abra-cadabra-style entries, but the above commands still fail. ================================================ Now I am confused! - What is the meaning and format of /ets/passwd in Cygwin? What are these long entries like: Administrator:unused_by_nt/2000/xp:500:513:U-BUTTER\Administrator,S-1-5-21-1614895752-601609370-1417001333-500:/home/Administrator:/bin/bash - How do I login as ANY user other then Administrator? - How do I set a password for Administrator [or any other user]. - Are Cygwin users in one-to-one correspondence to Windows users and who/where/how stores the passwords. Can they be different? BTW: I am not using NTSEC or NTEA, though trying NTSEC did not seem to help [and it messes up permissions]. Is this necessary? What if I don't have NTFS? Thanks for any help! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/