Received: from spf1.us4.outblaze.com (spf1.us4.outblaze.com [205.158.62.23]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iB1IxYOv015197 for ; Wed, 1 Dec 2004 18:59:34 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf1.us4.outblaze.com (Postfix) with ESMTP id 4E8A153699 for ; Wed, 1 Dec 2004 18:59:25 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZZqV-0007Gd-9o for migo@homemail.com; Wed, 01 Dec 2004 14:08:59 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CZZpr-0007Bw-Vq for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 14:08:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CZZpo-0007A6-SR for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 14:08:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZZpn-00079G-AX for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 14:08:15 -0500 Received: from [209.226.175.102] (helo=tomts28-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CZZg4-0004jT-3B for gnu-arch-users@gnu.org; Wed, 01 Dec 2004 13:58:12 -0500 Received: from mp.mpathix.com ([69.158.105.39]) by tomts28-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20041201185810.JYKD1902.tomts28-srv.bellnexxia.net@mp.mpathix.com>; Wed, 1 Dec 2004 13:58:10 -0500 Received: from milanc.mpathix.com ([192.168.108.78] helo=milanc) by mp.mpathix.com with esmtp (Exim 3.35 #1 (Debian)) id 1CZZfz-0002Wb-00; Wed, 01 Dec 2004 13:58:07 -0500 Received: from milanc ([127.0.0.1] helo=mpathix.com ident=milanc) by milanc with esmtp (Exim 3.36 #1 (Debian)) id 1CZZfy-0002iM-00; Wed, 01 Dec 2004 13:58:06 -0500 Message-ID: <41AE143E.9020606@mpathix.com> Date: Wed, 01 Dec 2004 13:58:06 -0500 From: Milan Cvetkovic User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425 X-Accept-Language: en MIME-Version: 1.0 To: Eric Seigne Subject: Re: [Gnu-arch-users] restricted shell (sftp) for gnuarch ? References: <1101918881.4524.24.camel@localhost.localdomain> In-Reply-To: <1101918881.4524.24.camel@localhost.localdomain> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Cc: gnu-arch-users@gnu.org X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 1215 Lines: 50 You can do this (change shell to /usr/lib/sftp-server): # usrmod -s /usr/lib/sftp-server eric_arch This would prevent this eric_arch to do anything other than sftp. Milan. Eric Seigne wrote: > Hello, > i'm sorry to bother you but i don't find how to restrict my ssh/sftp > shell for arch repositories ! > > here is my situation: > user eric: full ssh and sftp access > 3 others users: full ssh and sftp access > user eric_arch: access sftp only, and jail into /home/arch/ > > i don't know how to make it ! > > with cvs i used /bin/grap as shell or /bin/cvssh.pl but i can't find the > same thing for gnuarch repositories ! > > Please help me. > Thanks a lot, > Éric > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Gnu-arch-users mailing list > Gnu-arch-users@gnu.org > http://lists.gnu.org/mailman/listinfo/gnu-arch-users > > GNU arch home page: > http://savannah.gnu.org/projects/gnu-arch/ _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/