|
| Chroot-Howto |
|
| Boot a system and run Chroot to fix the hard disk |
- Boot a standalone system and execute these chroot commands
|
|
chroot /home
|
new / is the /home directory
|
|
chroot /mnt/hda1 /bin/bash
|
change / to /mnt/hda1 and execute /bin/bash
|
|
chroot /mnt/hda1 /bin/lilo -C /etc/lilo.conf
|
change / to /mnt/hda1 and run lilo
|
|
|
- Chroot + Lilo ( eg. rerun lilo to fix the MBR )
- Chroot + Bash ( eg. change the passwd )
|
| Introduction to Jail |
|
| Breaking Out of Chroot |
|
| Chroot Bind, Chroot Apache, Chroot Sendmail |
tcu-Inc.com Chrooting All services
GIAC.org Locking down your daemons
floc.net makejail
- Chroot Apache
- Chroot Bind
- Chroot NTP ( my micro-howto )
- mkdir /opt/Chroot.NPT
- mkdir -p /opt/Chroot.NTP/etc/ntp
- mkdir -p /opt/Chroot.NTP/var/ntp
- cp -par /etc/ntp /opt/Chroot.NTP/etc/ntp
- cp -par /var/run /opt/Chroot.NTP/var/run
- Change /etc/rc.d/init.d/xntp to run in /opt/Chroot.NTP instead
- Chroot Sendmail
- Chroot SSH
- Chroot X
- Chroot CVS
|