From owner-freebsd-questions Sun May 20 17:24:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.mediadesign.nl (md2.mediadesign.nl [212.19.205.67]) by hub.freebsd.org (Postfix) with SMTP id 262BD37B424 for ; Sun, 20 May 2001 17:24:28 -0700 (PDT) (envelope-from alson@mediadesign.nl) Received: (qmail 30436 invoked by uid 1002); 21 May 2001 00:24:21 -0000 Date: Mon, 21 May 2001 02:24:21 +0200 From: Alson van der Meulen To: freebsd-questions@freebsd.org Subject: Re: easy way to restrict shell users to home directory Message-ID: <20010521022421.A8109@md2.mediadesign.nl> Mail-Followup-To: freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: ; from brett@modlogic.com on Sun, May 20, 2001 at 06:40:23PM -0400 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 On Sun, May 20, 2001 at 06:40:23PM -0400, Brett Jackson wrote: > Hello, > > Is there an easy way to restrict shell users to their own home directory? > Something that works similar to ftpchroot, but applies to shell users. rbash... just symlink rbash to bash, and set PATH of users to $HOME/bin or similair. note this is not secure, it can be circumvented by using the hash command, but it at least looks like chroot ;) if you want real security, set up a real chroot.... -- ,-------------------------------------------. > Name: Alson van der Meulen < > Personal: alson@linuxfreak.nl < > School: alson@gymnasiumleiden.nl < `-------------------------------------------' Yes, I chowned all the files to belong to pvcs. Is that a problem to you? --------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message