Thread: Chrooted SSH
View Single Post
Old 16th April 2006, 22:11
linuxuser1 linuxuser1 is offline
Join Date: Oct 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Falko,

I have just done this again as root here again is the print out

mailx:~# APPS="/bin/bash /bin/ls /bin/mkdir /bin/mv /bin/pwd /bin/rm /usr/bin/id /usr/bin/ssh /bin/ping /usr/bin/dircolors"for prog in $APPS; do cp $prog ./$prog # obtain a list of related libraries ldd $prog > /dev/null if [ "$?" = 0 ] ; then LIBS=`ldd $prog | awk '{ print $3 }'` for l in $LIBS; do mkdir -p ./`dirname $l` > /dev/null 2>&1 cp $l ./$l done fidone
-bash: syntax error near unexpected token `do'


Reply With Quote