rssh 2.2
Brought to you by:
xystrus
From: Yves M. <yve...@el...> - 2004-06-03 09:33:12
|
Hello, I get the 2.2 version because I'm looking for a 'cvs' support in a secured shell. I find it strange that 2.2 version has no official home page with download, FAQ and docs. Why ? Is it a fork ? Except that details, I was able to create my chroot jail (manually) and use cvs - with that trouble: In commit, cvs used "uid753" instead of "testcvs". I does not look good in cvs log. Same issue, scp refuse to work: unknown user 753 I have correctly copied /etc/nsswitch.conf, passwd and group in my jail - BUT libnss_files lacks and it is impossible to find out except with a strace chroot /myjail getent passwd testcvs run as root. That library is not refered by ldd ! So take care. I found a bug when reading the mkchroot.sh script: replace /usr/bin/scp by $prog in ldd command: for prog in $scp_path $sftp_server_path $rssh_path $chroot_helper_path; do echo "Copying libraries for $prog." libs=`ldd /usr/bin/scp | tr -s ' ' | cut -d' ' -f3` Another point: if I do ./configure --with-scp /bin/scp --with-cvs /bin/cvs I expect the code to use that paths and not autodetected /usr/bin/scp and /usr/bin/cvs from my PATH instead of my options. Thank you for your job on that must-have tool ! -- Yves Martin |