Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2015 16:10:33 -0600
From:      jd1008 <jd1008@gmail.com>
To:        FreeBSD Users <freebsd-questions@freebsd.org>
Subject:   Re: chroot question
Message-ID:  <5536CAD9.8090607@gmail.com>
In-Reply-To: <fsdh5dndyi5aiws0p074vptn.1429653424929@email.android.com>
References:  <fsdh5dndyi5aiws0p074vptn.1429653424929@email.android.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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@gmail.com>
> Date:21/04/2015 4:34 PM (GMT-06:00)
> To: FreeBSD Users <freebsd-questions@freebsd.org>
> Cc: Fedora Community Users Support <users@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!!




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