LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Running applications in a Chroot (https://www.linuxquestions.org/questions/slackware-14/running-applications-in-a-chroot-856469/)

Gavin Harper 01-15-2011 07:25 AM

Running applications in a Chroot
 
Is it possible to run a web browser in a highly restricted chroot environment?

If so, what is the best way to do it?

Thanks

Ramurd 01-15-2011 02:46 PM

it is possible, but you will need the required libraries in your chroot-ed /lib or /lib64; Since your browser will likely be a graphical one, you will probably need all the components of X and your desktop environment / window manager in your chroot-ed environment. Never tried it, but I guess it will be quite a hassle to get it straight.

gnashley 01-15-2011 03:14 PM

You don't have to make copies of everything under your chroot -you can use the 'mount --bind' option to make some or all of the system visible inside the chroot

Exactly what are you trying to accomplish? What kind of restrcitions do you mean? It vaguely sounds like you are trying to run like in a Kiosk mode?? If so, I have some ideas.


All times are GMT -5. The time now is 06:25 PM.