SUMMARY: Set RSSH Chroot under Solaris
Brought to you by:
xystrus
From: Melissa Y. <the...@ya...> - 2003-08-11 16:00:08
|
Dear Derek, Thank you so much for your patient and professional help, and sorry again about my complaint. Now I like to say that the RSSH documentation is excellent. Best regards, Melissa Young ///////////////////////////////////////////////////// SUMMARY: How to setup RSSH Chroot Under Solaris: 1) Read RSSH's CHROOT file that will instruct you to copy the library files and the /etc files. 2) Create the required devices: # mkdir /home/chroot/dev # cd /home/chroot/dev # mknod conslog c 21 0 # mknod null c 13 2 # mknod tcp c 11 42 # mknod udp c 11 41 # mknod zero c 13 12 # chmod 666 * # mknod log c 21 5 # chmod 600 log # mknod sysmsg c 97 0 # chmod 600 sysmsg # chown root:sys * # mknod syscon c 0 0 # chmod 620 syscon # chown root:tty syscon # chown root:sys /home/chroot/dev # cp /etc/TIMEZONE /home/chroot/etc. This chroot can be used for both RSSH and BIND DNS. This method is tested on Solaris 2.5.1 and Solaris 2.6. ///////////////////////////////////////////////////// __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |