From owner-freebsd-questions Wed Aug 7 08:55:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA09568 for questions-outgoing; Wed, 7 Aug 1996 08:55:38 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA09557 for ; Wed, 7 Aug 1996 08:55:35 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/8.7.3) id IAA01929; Wed, 7 Aug 1996 08:55:17 -0700 (MST) From: Don Yuniskis Message-Id: <199608071555.IAA01929@seagull.rtd.com> Subject: Re: chroot To: njensen@salsa.habaneros.com (Neil C. Jensen) Date: Wed, 7 Aug 1996 08:55:17 -0700 (MST) Cc: dwhite@resnet.uoregon.edu, questions@freebsd.org In-Reply-To: <01BB8434.5D2CBF00@jalapeno.habaneros.com> from "Neil C. Jensen" at Aug 7, 96 07:45:05 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk It seems that Neil C. Jensen said: > > The permissions on chroot are correct: > -r-xr-xr-x 1 bin bin 8192 Jul 16 19:33 /usr/sbin/chroot > > If I use "/usr/sbin/chroot /home/terminal" as my login shell, the > exact error message is "login: /usr/sbin/chroot /home/terminal: > permission denied". > > The permissions on the home directory are standard. > > If I instead try to use the login script, the error message is > "chroot: /home/terminal: Operation not permitted" Umm, if you specify /usr/sbin/chroot as your login shell, doesn't it need to be listed in /etc/shells?? --don