Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 02:24:21 +0200
From:      Alson van der Meulen <freebsd@alson.linuxfreak.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: easy way to restrict shell users to home directory
Message-ID:  <20010521022421.A8109@md2.mediadesign.nl>
In-Reply-To: <FOEEJJGMGLLMJIPABLDJKEGACCAA.brett@modlogic.com>; from brett@modlogic.com on Sun, May 20, 2001 at 06:40:23PM -0400
References:  <FOEEJJGMGLLMJIPABLDJKEGACCAA.brett@modlogic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010521022421.A8109>