Note: You are viewing an old version of this page. View the current version.

Differences between version 10 and previous revision of CyberLeo.

Other diffs: Previous Major Revision, Previous Author

Newer page: version 10 Last edited on Friday, 11 April 2008 21:21:33 by CyberLeo Revert
Older page: version 9 Last edited on Saturday, 2 February 2008 2:29:22 by CyberLeo Revert
@@ -15,4 +15,9 @@
  
 !! Scrapbin 
 * [clone.sh] 
 * [/sbin/installkernel] 
+  
+!! Copy dependent libraries into a chroot jail:  
+<verbatim>  
+/bin/sh -c 'fifo="/tmp/ldd-$$"; mkfifo -m 600 ${fifo}; ldd /usr/sbin/sshd | cut -f2 | cut -d" " -f3 | tee ${fifo} | tail -n $(( $( cat ${fifo} | wc -l ) - 1 )); rm -f ${fifo}' | cpio --pass-through --make-directories /root/chroot/sshd/  
+</verbatim>  

version 10

Teams

Tasks

  • PleskAPI - 90% - Awaiting feedback
  • Billing
  • Accounts Infrastructure
  • Support Ticket System

Scrapbin

Copy dependent libraries into a chroot jail:

/bin/sh -c 'fifo="/tmp/ldd-$$"; mkfifo -m 600 ${fifo}; ldd /usr/sbin/sshd | cut -f2 | cut -d" " -f3 | tee ${fifo} | tail -n $(( $( cat ${fifo} | wc -l ) - 1 )); rm -f ${fifo}' | cpio --pass-through --make-directories /root/chroot/sshd/