Skip site navigation (1)Skip section navigation (2)
Date:      31 Jan 2003 17:25:17 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        Stephane Lee <slee@ile-maurice.com>
Cc:        Jay Sern Liew <jay@sendtech.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: restricting user's directory listing and changing
Message-ID:  <4465s50xf6.fsf@be-well.ilk.org>
In-Reply-To: <20030131144801.D66132-100000@otto.moris.org>
References:  <20030131144801.D66132-100000@otto.moris.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephane Lee <slee@ile-maurice.com> writes:

> You may want to check the restricted bash.
> http://www.gnu.org/manual/bash-2.05a/html_node/bashref_75.html

Just be careful; restricted shells aren't really intended for
security.  They're more for situations where you want to avoid
shooting yourself in the foot.  For real security, you need something
more like chroot(8) or jail(8).

> 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




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