From owner-freebsd-questions@FreeBSD.ORG Sun May 11 15:16:48 2014 Return-Path: Delivered-To: freebsd-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 707E7B44 for ; Sun, 11 May 2014 15:16:48 +0000 (UTC) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 395562B42 for ; Sun, 11 May 2014 15:16:48 +0000 (UTC) Received: from [172.27.2.50] (107-145-15-87.res.bhn.net [107.145.15.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MRnF3-1WGkLG0v29-00SkiY; Sun, 11 May 2014 11:16:40 -0400 Message-ID: <536F9455.80000@wholesum.net> Date: Sun, 11 May 2014 11:16:37 -0400 From: Nikolai Wendorf User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: how can I keep users in their directory on ssh References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:Cw2tSnNFdC3um9mv27ar4e6syYmyHfj0+1cN/y+o0f5 QnC9HrhM/L4kf40xtQJzPvmk4MGjxi93Ahx7nXzzAI9efyLmiO MNa9ZASSYWc1pkbuezaO87VFHsHTdSGTuXBgyOoa0jSDdPLOsb z5gTGesy3ZFAx0F/iR2OXlVxa4lcjPQ8cYEsOBu5o5r/Zzvkke a5TF1KBmqQmw+ihUT4RUF+jhuagXedl0N2Hw96SPWXT3US578z kURB7w428wHF6RDnkJU3fH3x6xROgmA8ryln2cw+TvFIHqW7zZ GkBU4lkE0rny1XSZTgIiXz43bnUl0+aKsiXKTd7JYxoVlcRlv0 B/tz1hWrCXOhmNPM78aY= 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: Sun, 11 May 2014 15:16:48 -0000 have a look at the man page for bash aliased to rbash or the -r option nick On 5/10/2014 8:05 AM, tethys ocean wrote: > *Hi,* > > *I want to give a ssh access to my programmers, but I want to keep them in > thier own directory. * > > *I created these users and tried to ssh access and test I saw that all > these users can go out upper directory* > > *I add sone line to sshd.config file like as;* > > > *Allowusers prog1 prog2 prog3 prog4* > *ChrootDirectory /perlproggroup* > *X11Forwarding no* > *AllowTcpForwarding no* > > *but they still have access to upper directory..* > > *How can I keep them in their own directory.. we dont want to use sftp > etc..* > > *Should I use ssh-keygen?!?!? OR rssh !??!* > > *Regards* > > > > > > > > *-- Share now a pigeon's flight Bluebound along the ancient skies, Its > women forever hair and mammal, A Mediterranean town may arise If you rip > apart a pigeon's heart. * > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >