delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/24/10:22:45

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_27
X-Spam-Check-By: sourceware.org
Message-ID: <140340.33560.qm@web33502.mail.mud.yahoo.com>
References: <32517 DOT 57262 DOT qm AT web33505 DOT mail DOT mud DOT yahoo DOT com> <4ABA9468 DOT 6060408 AT cygwin DOT com> <32405 DOT 5122 DOT qm AT web33504 DOT mail DOT mud DOT yahoo DOT com> <4ABA99A9 DOT 6080103 AT cygwin DOT com> <510384 DOT 1152 DOT qm AT web33508 DOT mail DOT mud DOT yahoo DOT com> <4ABAD5CB DOT 1020208 AT cygwin DOT com>
Date: Thu, 24 Sep 2009 07:22:26 -0700 (PDT)
From: Dave M <dindenver AT yahoo DOT com>
Subject: Re: sftp on a Windows 2003 server
To: cygwin AT cygwin DOT com
In-Reply-To: <4ABAD5CB.1020208@cygwin.com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Larry (or anyone who can help),
  Here is what I am getting now:
je28004 AT S-EXSYSLOG01 ~
$ chmod +r /etc/passwd

je28004 AT S-EXSYSLOG01 ~
$ chmod +r /etc/group

je28004 AT S-EXSYSLOG01 ~
$ ssh-host-config
*** Query: Overwrite existing /etc/ssh_config file? (yes/no) yes
*** Info: Creating default /etc/ssh_config file
*** Query: Overwrite existing /etc/sshd_config file? (yes/no) yes
*** Info: Creating default /etc/sshd_config file
*** Info: Privilege separation is set to yes by default since OpenSSH 3.3.
*** Info: However, this requires a non-privileged account called 'sshd'.
*** Info: For more info on privilege separation read /usr/share/doc/openssh/READ
ME.privsep.
*** Query: Should privilege separation be used? (yes/no) yes
*** Warning: The permissions on the directory /var are not correct.
*** Warning: They must match the regexp d..x..x..[xt]
*** ERROR: Problem with /var directory. Exiting.

je28004 AT S-EXSYSLOG01 ~
$ ls -l /var
total 0
drwxrwx---+ 3 je28004 mkgroup-l-d 0 Sep 23 16:23 cache
drwxr-xr-x+ 2 je28004 mkgroup-l-d 0 Sep 23 16:24 empty
drwxrwx---+ 3 je28004 mkgroup-l-d 0 Sep 23 16:23 lib
drwxrwxr-x+ 2 je28004 mkgroup-l-d 0 Sep 23 16:24 log
drwxrwx---+ 2 je28004 mkgroup-l-d 0 Sep 23 16:23 run
drwxrwx---+ 2 je28004 mkgroup-l-d 0 Sep 23 16:23 tmp

je28004 AT S-EXSYSLOG01 ~
$



----- Original Message ----
Sent: Wednesday, September 23, 2009 8:13:31 PM
Subject: Re: sftp on a Windows 2003 server

On 09/23/2009 06:28 PM, Dave M wrote:
> *** Warning: The file /etc/passwd is not readable by all.
> *** Warning: Please run 'chmod +r /etc/passwd'.
> *** Warning: The file /etc/group is not readable by all.
> *** Warning: Please run 'chmod +r /etc/group'.
> *** ERROR: Problem with LocalSystem or Adminstrator IDs

Try doing as it asks and try again.  If it complains again, I need
to see the results of 'ls -l /etc/passwd /etc/group' and the contents
of these files.  If the files are bigger than a few K, let me know
and we'll arrange a way to get them to me off-list.  Otherwise,
please *attach* the files (rather than append).

-- 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

--
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