From owner-freebsd-questions@FreeBSD.ORG Sat May 10 13:07:24 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B67DCA1C for ; Sat, 10 May 2014 13:07:24 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91699BD9 for ; Sat, 10 May 2014 13:07:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=SjxwSX1qkNC1xd3seY6wcXLH5f9LF26DzAmWHmm3q2g=; b=wLPghdNmxcJKuxxe56ZKtDYaPdfWX0Ze08f0I1/Czc/CMUCZF+8PQjbW0ixM/wTT/98SVsT8jKg3h+68zQgGOmAyDDnRWwK/Np0Z9gpiXaxmxIZCOGVg6BLGWTafmGAjXHIldQOsMu5ouhmNa4kEUg/iJGeeCdflfj9RO41G8aA=; Received: from [182.11.14.231] (port=53197 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1Wj6zq-001uIi-Hf; Sat, 10 May 2014 07:07:23 -0600 Date: Sat, 10 May 2014 21:07:18 +0800 From: Erich Dollansky To: tethys ocean Subject: Re: how can I keep users in their directory on ssh Message-ID: <20140510210718.185e9643@X220.alogt.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2014 13:07:24 -0000 Hi, On Sat, 10 May 2014 15:05:29 +0300 tethys ocean wrote: > *Hi,* > > *I want to give a ssh access to my programmers, but I want to keep > them in thier own directory. * > create their directories in a directory owned by user ocean and group ocean. Set the permission for this directory to 700 should work then. It could have some strange side effects. Erich