delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/23/11:31:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4ABA3EB8.40505@cygwin.com>
Date: Wed, 23 Sep 2009 11:28:56 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Fw: Permission denied (publickey,password,keyboard-interactive).
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>
In-Reply-To: <361230.45413.qm@web33508.mail.mud.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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  not 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.  For later WIndows versions, it's
cyg_server.  See ssh-host-config and related scripts for all the details. 
Since it's
not possible to know what you've done in the process of playing around with 
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.  This 
is why
using the scripts is highly recommended.  It's allot less work and 
error-prone. ;-)

<snip>

>    Also, every time I log in to the bash shell, I get this:
> Your group is currently "mkgroup".  This 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]>  /etc/passwd
> mkgroup  -l [-d]>  /etc/group
> Note that the -d switch is necessary for domain users.
>    I have run:
> mkpasswd -l>  /etc/passwd
> mkgroup  -l>  /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                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-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:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019