Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 1996 22:57:24 +0000 ()
From:      James Raynard <fqueries@jraynard.demon.co.uk>
To:        "Neil C. Jensen" <njensen@salsa.habaneros.com>
Cc:        questions@freebsd.org
Subject:   Re: chroot
Message-ID:  <199608072257.WAA04856@jraynard.demon.co.uk>
In-Reply-To: <01BB8434.5D2CBF00@jalapeno.habaneros.com> from "Neil C. Jensen" at Aug 7, 96 07:45:05 am

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

You have to be root to run chroot.  When a user logs in, the login
shell is run as that user, and the user doesn't have permission to
run chroot.




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