Executing bash through a symlink
Hey, I'm trying to setup a chrooted enviroment. I am using "Jail Chroot Project 1.9". I made a basic chroot enviroment that i have added software too (including bash).
When i add a new user, I create a new /home/username directory and also add that as a new chroot enviroment.
What i want to do is to link my main enviroments folders like bin, lib, usr, var to each users home directory, so one change will be effective for all chrooted users. I have tried to do this by making hardlinks and I get permission denied(main enviroment and individual enviroments are on the same partition). If i do it with symlinks it appears to work fine but when i go to login as a user, it says "Jail: can't canonize path "/bin/bash". Bad path?"
Yet if i cd to /home/test/bin, the bash executable is in the listing.
Anyone have any ideas.
Last edited by Agento-; 01-19-2003 at 02:36 AM.