chroot question

jd1008 jd1008 at gmail.com
Tue Apr 21 22:10:36 UTC 2015



On 04/21/2015 03:57 PM, Chris Petrik wrote:
> Try to reread the chroot manpage.
>
>
> Enviado desde mi Samsung Mobile de Telcel
>
>
> -------- Original message --------
> From: jd1008 <jd1008 at gmail.com>
> Date:21/04/2015 4:34 PM (GMT-06:00)
> To: FreeBSD Users <freebsd-questions at freebsd.org>
> Cc: Fedora Community Users Support <users at lists.fedoraproject.org>
> Subject: chroot question
>
>
> As root, I ran
>
> chroot --userspec=user2:user2 /home/user2
> chroot: failed to run command ‘/bin/bash’: Permission denied
>
> The dir /home/user2 has in it
> all the *bin and *lib  (links) and usr/*bin and usr/*lib files and 
> subdirs.
>
> So, what is chroot good for???
> _______________________________________________


Why don't YOU read the manual as I have read it fully (it is very short)
(run  info chroot)
and then tell us all on the list (do not email me personally), what you
found wrong with my invocation of the command!!



More information about the freebsd-questions mailing list