From owner-freebsd-questions Mon Jan 10 21:59:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.citechco.net (mail.citechco.net [203.127.137.3]) by hub.freebsd.org (Postfix) with ESMTP id 6FECC1504C for ; Mon, 10 Jan 2000 21:59:29 -0800 (PST) (envelope-from mojahed@citechco.net) Received: from mars.cosmos.net (ls2-17-188.citechco.net [203.127.137.188]) by mail.citechco.net (8.9.3/8.8.7) with ESMTP id MAA11482 for ; Tue, 11 Jan 2000 12:01:43 +0600 Received: (from mojahed@localhost) by mars.cosmos.net (8.9.3/8.9.3) id LAA00483 for FreeBSD-Questions@FreeBSD.ORG; Tue, 11 Jan 2000 11:33:54 +0600 (BDT) (envelope-from mojahed) Date: Tue, 11 Jan 2000 11:33:54 +0600 From: Mojahedul Hoque Abul Hasanat To: FreeBSD-Questions@FreeBSD.ORG Subject: Re: Question about restricted shell account. Message-ID: <20000111113354.B313@mars.cosmos.net> Mail-Followup-To: FreeBSD-Questions@FreeBSD.ORG References: <20000110181654.1149.qmail@nwcst289.netaddress.usa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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