The chroot command takes two arguments
chroot [the dir you want to chroot to] \
[the command you want be chrooted]
The command and all the dependencies if any
must be in the chrooted envionment.
ie chroot /chroot/dir /bin/sh
must have
/chroot/dir/bin/sh
Scot
On Fri, 22 Nov 1996, Scot wrote:
>
> Has anyone run into problems w/ chroot
> on D.U. 3.2g - 4.0a
>
> I am using advfs
>
> I am chrooting to fileset mounted under usr
> The problem seems to be with my command line.
>
>
> 168:/usr>chroot /usr /usr/bin/sh
> /usr/bin/sh: not found
> 168:/usr>
>
> This happens where ever I try chroot regardless if the command arg.
>
>
> TIA
>
> Scot
>
>
Received on Mon Nov 25 1996 - 01:42:35 NZDT