This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: Permission denied (publickey,password,keyboard-interactive).


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]