Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2000 11:33:54 +0600
From:      Mojahedul Hoque Abul Hasanat <mojahed@citechco.net>
To:        FreeBSD-Questions@FreeBSD.ORG
Subject:   Re: Question about restricted shell account.
Message-ID:  <20000111113354.B313@mars.cosmos.net>
In-Reply-To: <Pine.BSF.4.10.10001101502570.75543-100000@iteso.mx>
References:  <20000110181654.1149.qmail@nwcst289.netaddress.usa.net> <Pine.BSF.4.10.10001101502570.75543-100000@iteso.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 10, 2000 at 03:04:51PM -0600, De la Cruz Lugo Eric
wrote:
> 
> Some out there knows about a restricted shell that runs on
> FreeBSD in order to denny users to cd up their home dir. ?,
> thanks in advance.

A restricted shell will not prevent them from running another
shell (bash, tcsh, ...) or program like emacs and changing the
directory.

What you want is chroot.  You may want to make a script/program
that first chroots to the desired directory and then execs a
shell (restricted perhaps). 


-- 
Mojahed


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?20000111113354.B313>