X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4ABA3EB8.40505@cygwin.com> References: <1253654636 DOT 345 DOT ezmlm AT cygwin DOT com> <583331 DOT 35165 DOT qm AT web33505 DOT mail DOT mud DOT yahoo DOT com> <4AB96384 DOT 3080802 AT gmail DOT com> <361230 DOT 45413 DOT qm AT web33508 DOT mail DOT mud DOT yahoo DOT com> <4ABA3EB8 DOT 40505 AT cygwin DOT com> Date: Wed, 23 Sep 2009 08:34:14 -0700 Message-ID: <5edb39400909230834k3ac4a992taf47f5356e6604a3@mail.gmail.com> Subject: Re: Fw: Permission denied (publickey,password,keyboard-interactive). From: Bryan Karsh To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi, I had a question about this statement: "Since your user is a domain user, you need to use the '-d' flag indicated above in both commands." I am a domain user, and when I try to use the -d flag, cygwin just hangs. I'm not sure why..? On Wed, Sep 23, 2009 at 8:28 AM, Larry Hall (Cygwin) wrote: > On 09/23/2009 11:01 AM, Dave M wrote: >> >> Dave, >> >> I checked that readme file. Um, I am not sure what it is telling me, it >> is =A0not really laid out step by step. I think it would be more useful = if I >> read >> it from the bottom to the top. But still, I THINK I did everything it >> suggested. I had run ssh-host-config before, today I ran ssh-user-config >> and >> made SYSTEM the owner of /var/empty and checked the permissions on the >> sshd_server account (the host-config script had set them correctly, I >> didn't >> have to do anything to the account privileges). > > SYSTEM is the proper owner for XP and W2K. =A0For later WIndows versions,= it's > cyg_server. =A0See ssh-host-config and related scripts for all the detail= s. > Since it's > not possible to know what you've done in the process of playing around wi= th > this, > you'll need to manually check all the permissions and ownerships of files > mentioned > in the scripts to make sure they are set as they are supposed to be. =A0T= his > is why > using the scripts is highly recommended. =A0It's allot less work and > error-prone. ;-) > > > >> =A0 Also, every time I log in to the bash shell, I get this: >> Your group is currently "mkgroup". =A0This indicates that >> the /etc/group (and possibly /etc/passwd) files should be rebuilt. >> See the man pages for mkpasswd and mkgroup then, for example, run >> mkpasswd -l [-d]> =A0/etc/passwd >> mkgroup =A0-l [-d]> =A0/etc/group >> Note that the -d switch is necessary for domain users. >> =A0 I have run: >> mkpasswd -l> =A0/etc/passwd >> mkgroup =A0-l> =A0/etc/group >> Both successfully (in that order) and the contents of those files "look" >> right, but I still keep getting that message. I don't know if this is >> related or not. > > Since your user is a domain user, you need to use the '-d' flag indicated > above in > both commands. > > -- > Larry Hall =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0htt= p://www.rfk.com > RFK Partners, Inc. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 893-9= 779 - RFK Office > 216 Dalton Rd. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(508) 8= 93-9889 - FAX > Holliston, MA 01746 > > _____________________________________________________________________ > > A: Yes. >> Q: Are you sure? >>> A: Because it reverses the logical flow of conversation. >>>> Q: Why is top posting annoying in email? > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple