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: sftp on a Windows 2003 server


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

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

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


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