[SATLUG] Re: Can knoppix auto start sshd?

Sean Carolan scarolan at gmail.com
Tue Sep 18 11:05:48 CDT 2007


> Remastering isn't hard, especially something like this. I don't see why
> it would take you any more than half an hour if you already have an iso
> downloaded. I put together a DNS/Mail/Web/FTP/SSH/etc Knoppix based disc
> for firewall training purposes and that took about a day. Would have
> probably been quicker had I not been burning discs.

I discovered that you can have a custom knoppix.sh script in the
KNOPPIX/ directory that will run at boot time.  Here's the magic
command to burn the image back into an iso after unpacking and adding
the knoppix.sh script.  This is run from within the extracted
directory of the knoppix ISO file on your hard drive:

mkisofs -pad -l -r -J -v -V "KNOPPIX" -boot-load-size=4 -no-emul-boot
-boot-info-table -b boot/isolinux/isolinux.bin -c
boot/isolinux/boot.cat -hide-rr-moved -o ~/knoppixssh.iso .

This worked well for me.  I was able to start the ssh daemon and
change some settings at boot time, hands-free.  Much easier than the
long remastering process described in the Knoppix wiki.


More information about the SATLUG mailing list