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


Here is what happened when I tried to run the script:
$ 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.

Also:
$ ls -l /etc/group /etc/passwd
-rwxr-xr--+ 1 je28004 Users  752 Sep 23 13:59 /etc/group
-rwxr-xr--+ 1 je28004 Users 1140 Sep 23 13:59 /etc/passwd

$ ls -l /
total 9
-r-xr-x---+  1 je28004 Users      57 Sep 23 12:59 Cygwin.bat
-r-xr-x---+  1 je28004 Users    7022 Sep 23 12:59 Cygwin.ico
drwxrwx---+  2 je28004 Users       0 Sep 23 12:58 bin
dr-xr-xr-x   1       0        0    0 Dec 31  1969 cygdrive
drwxrwx---+  2 je28004 Users       0 Sep 23 12:58 dev
drwxrwxr-x+ 15 je28004 Users       0 Sep 23 14:24 etc
drwxrwx---+ 22 je28004 Users       0 Sep 23 12:58 lib
dr-xr-xr-x   1 je28004 mkpasswd    0 Nov 30  2006 proc
drwxrwxrwt+  2 je28004 Users       0 Sep 23 13:57 tmp
drwxrwx---+ 13 je28004 Users       0 Sep 23 12:57 usr
drwxrwx---+  9 je28004 Users       0 Sep 23 13:58 var

$ ls -l /var
total 0
drwxrwx---+ 3 je28004 Users    0 Sep 23 12:57 cache
drwxr-xr-x+ 3 je28004 Users    0 Sep 23 12:58 cron
drwxr-xr-x+ 2 SYSTEM  mkpasswd 0 Sep 23 13:58 empty
drwxrwx---+ 3 je28004 Users    0 Sep 23 12:56 lib
drwxrwxr-x+ 2 je28004 Users    0 Sep 23 13:58 log
drwxrwx---+ 2 je28004 Users    0 Sep 23 12:56 run
drwxrwx---+ 2 je28004 Users    0 Sep 23 12:56 tmp

  Did I mention you are awesome.
Dave M


----- Original Message ----
From: Larry Hall (Cygwin) <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Sent: Wednesday, September 23, 2009 1:47:49 PM
Subject: Re: sftp on a Windows 2003 server

On 09/23/2009 03:25 PM, Dave M wrote:
>    Two questions:
> 1) Should I run the ssh-host-config now or wait until the mkgroup issue is resolved?

Since you plan to use a local user for ssh/sftp, you can skip the mkgroup issue for now.

> 2) Do I need to resolve the mkgroup issue, and if so, how?

I'd like to see your 'cygcheck -srv' output and what 'ls -l /etc/group /etc/passwd' says.
*Attach* the former to your reply when you're ready to look at this issue.

>    Again, thank you so much for your help!

You're welcome.

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