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 From: "Stephen C. Biggs" To: "Harig, Mark A." , Date: Mon, 05 Aug 2002 15:33:44 -0700 MIME-Version: 1.0 Subject: RE: Son of son of SSH & Cygwin; scp and sftp Message-ID: <3D4E9AD8.11414.324081A@localhost> In-reply-to: Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body On 5 Aug 2002 at 18:13, Harig, Mark A. wrote: > > > > > My guess is that somehow this entry is incorrect, > > > probably the 'S-1-5-...' is wrong somehow. > > > > > > You might try: > > > > > > 1. Save /etc/passwd to /etc/passwd.save > > > > > > 2. Delete the entry for 'test'. > > > > > > 3. mkpasswd -d | grep test >> /etc/passwd > > > > > > 4. Check to see whether the entry for 'test' > > > is reasonable. Also: > > > > > > $ diff /etc/passwd /etc/passwd.save > > > > Here is the entry for 'test' done by mkpasswd -l > > as I have no domain users. > > test:unused_by_nt/2000/xp:1006:513:U- > > LOCALHOST\test,S-1-5-21-1743480672- > > 7889942-740312968-1006:/home/test:/bin/bash > > > > The GUID is the same. > > > > It puts it into the None group, whereas the only > > change I made was to make sure that 'test' is in > > the 'Guests' group. > > > > When I change the 'group' field, it has no effect > on the login. > > When I corrupt my "S-1-5-21..." field, the behavior > of ssh is similar to what you have described. I am > prompted for a password, and after a "successful" login, > NT (or 2000) closes the session before a prompt is > displayed ("Connection to closed by remote host"). > Ok, I replaced the line with the output from mkpasswd, changing only the group. Still happens. Can you try yours with the corrupt GUID field and run -ddd on your sshd to see if it says anything? -- 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/