delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/27/19:05:26

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=fIAnnAJgtG6yD0Jq
VQ3ladqKYSDJeQLqXj25NdWRgmllt9RUhzC8g++Z2YM2bLudwRWA6Amt80AlVtLc
JFquzPYQ8o2SbfRjXtVmj1qNbaUTplz3RuVbtiNrukQQ4NzWEC8r2QDLZEsNXK7i
SP2wWo1mNhMqSDYrPB6XaZKpoNE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=L+jwBnffbNPFxX8cjvNlz9
HEFi0=; b=DFpRKV79uto/6mRLn4K5L42/0gylHw5083UQziAbrbFxOs3k2UxHj6
hu2/mZ/PKYBx6fEkTLlGumXz+vWqeAmJtit8i552RlYZyeUPQFgyEG8WiLMyw3AF
9k40vDR29RaRzJpZ87u/1tMuBqU0png3YCJUon7kRcfIjEI26hj4E=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Priority:Normal, H*M:yandex, H*R:D*cygwin.com, H*F:D*yandex.ru
X-HELO: forward106j.mail.yandex.net
Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Tue, 28 Nov 2017 02:59:48 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <84854143.20171128025948@yandex.ru>
To: snorthrop AT moog DOT com, cygwin AT cygwin DOT com
Subject: Re: Issues hiding /dev virtual directory from SFTP users
In-Reply-To: <2512145081DA00479295CF769D4C8F350128B3517D@BNVMMSX0A61086A.polysci.com>
References: <2512145081DA00479295CF769D4C8F350128B3517D AT BNVMMSX0A61086A DOT polysci DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, snorthrop AT moog DOT com!

> Hello,

> I am trying to get sftp secured using OpenSSH.  I have been able to jail
> the users to their home directory and remove the cygdrive virtual directory
> from showing but I have been unable to get the /dev virtual directory
> removed from the users when they SFTP.  In the past I have been able to just
> add "/dev /null none bind" to the fstab file but that no longer works.

> Can anyone suggest how I may be able to accomplish this with CYGWIN_NT-6.3 and openssh 7.6p 1-1 ?

If you jail the user to their home directory, they shouldn't be able to see
the Cygwin root in first place.
I don't understand your issue.


-- 
With best regards,
Andrey Repin
Tuesday, November 28, 2017 02:58:54

Sorry for my terrible english...


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