From owner-freebsd-questions Fri Jan 31 11:48:52 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A771937B401 for ; Fri, 31 Jan 2003 11:48:51 -0800 (PST) Received: from otto.moris.org (otto.moris.org [65.39.144.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id B716443E4A for ; Fri, 31 Jan 2003 11:48:50 -0800 (PST) (envelope-from slee@ile-maurice.com) Received: from otto.moris.org (localhost.moris.org [127.0.0.1]) by otto.moris.org (8.12.6/8.12.6) with ESMTP id h0VJmijP066141; Fri, 31 Jan 2003 14:48:44 -0500 (EST) (envelope-from slee@ile-maurice.com) Received: from localhost (slee@localhost) by otto.moris.org (8.12.6/8.12.3/Submit) with ESMTP id h0VJmieh066138; Fri, 31 Jan 2003 14:48:44 -0500 (EST) (envelope-from slee@ile-maurice.com) X-Authentication-Warning: otto.moris.org: slee owned process doing -bs Date: Fri, 31 Jan 2003 14:48:44 -0500 (EST) From: Stephane Lee X-X-Sender: slee@otto.moris.org To: Jay Sern Liew Cc: freebsd-questions@FreeBSD.ORG Subject: Re: restricting user's directory listing and changing In-Reply-To: <1044035168.3e3ab660cc8d5@horde-send.sendtech.net> Message-ID: <20030131144801.D66132-100000@otto.moris.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You may want to check the restricted bash. http://www.gnu.org/manual/bash-2.05a/html_node/bashref_75.html On Fri, 31 Jan 2003, Jay Sern Liew wrote: > Greetings. > > Basically, I have this group of users, that I give SSH/SFTP access, but I > don't want them to be able to see the complete file hierarchy and ``cd'' to > them. I just want a user to be able to access the user's home, and that's it. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message