Hi all!

I spent a nice working day trying to get RSSH working on a RedHat 
Enterprise Linux 5. What I gathered is not in the FAQ, so this may help 
someone.

1) /dev/null itself won't do it. I don't know exactly what devices are
    required, and ended up doing:
    mount --bind /dev dev
    In jail directory. This is pretty cumbersome to automate on booting,
    but hey! It produces results.

2) I modified the mkchroot.sh's ldd command into:
    libs=`ldd $prog | perl -ne 's:^[^/]+::; s: \(.*\)$::; print;'`
    That seems to provide exact results in my environment and no other
    libraries are required.

Both of those combined will produce a working chroot jail. That makes my 
boss happy and trainees out where they shouldn't be.

Regards,
Jari Turkia

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
rssh-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rssh-discuss

Reply via email to