Home News Archive links from external sites Network LDAP Infrared Devices Graphics Gimp creating an analog gauge image OpenGL Programming C/C++ CGI Secure programming Misc VI System PCMCIA Security Tips and Tricks Browser plugins Help out Distributions specific Gentoo Fedora contact interesting sites german sites manpages tools FAQ Sitemap Imprint poll results Last additions: using iotop to find disk usage hogs using iotop to find disk usage hogs words:887 views:187430 userrating:average rating: 1.7 (102 votes) (1=very good 6=terrible) May 25th. 2007: Words why adblockers are bad486 Views250596 Workaround and fixes for the current Core Dump Handling vulnerability affected kernels Workaround and fixes for the current Core Dump Handling vulnerability affected kernels words:161 views:138060 userrating:average rating: 1.4 (42 votes) (1=very good 6=terrible) April, 26th. 2006: Words New subdomain: toolsntoys.linuxhowtos.org38 Views99351 How to force a check of the file systems How to force a check of the file systems words:179 views:32989 userrating:average rating: 1.4 (62 votes) (1=very good 6=terrible) Oct, 18th. 2005: Words New features online: interactive search function34 Views53085 Sep, 5th. 2005: Words New website design online51 Views42202 Aug, 27th 2005: Words Existing articles can be edited by anyone now.134 Views11412 | Bind-Chroot-Howto (Debian)Version 1.0 This howto is meant as a practical guide; it does not cover the theoretical backgrounds. They are treated in a lot of other documents in the web. This document comes without warranty of any kind! Install Bind And Chroot Itapt-get install bind9
Create the necessary directories under /var/lib: mkdir -p /var/lib/named/etc Then move the config directory from /etc to /var/lib/named/etc: mv /etc/bind /var/lib/named/etc Create a symlink to the new config directory from the old location (to avoid problems when bind is upgraded in the future): ln -s /var/lib/named/etc/bind /etc/bind Make null and random devices, and fix permissions of the directories: mknod /var/lib/named/dev/null c 1 3 We need to modify the startup script /etc/init.d/sysklogd of sysklogd so that we can still get important messages logged to the system logs. Modify the line: SYSLOGD="" so that it reads: SYSLOGD="-a /var/lib/named/dev/log": #! /bin/sh Restart the logging daemon: /etc/init.d/sysklogd restart Start up BIND, and check /var/log/syslog for any errors: /etc/init.d/bind9 start Good luck! From http://www.falkotimme.com/howtos/debian_bind_chroot/index.php rate this article: current rating: average rating: 1.5 (34 votes) (1=very good 6=terrible) Your rating: back |