Thanks for posting the tip. It should come in handy.
Adam
Assuming you have enough memory, you can use the following shell script to configure nessus to use the ramdisk to get the latest updated nessus plugins:
#!/bin/sh
if ! [ "$USER" = 'root' ]
then
echo "You must be root to run this script!!"
exit 1
fi
echo "Removing symlink to nessus in etc directory"
rm -rf /etc/nessus
echo "(Re)creating nessus directories under ramdisk"
rm -rf /ramdisk/nessus
mkdir /ramdisk/nessus
mkdir /ramdisk/nessus/plugins
echo "creating symlink back to /etc/nessus"
ln -s /ramdisk/nessus /etc/nessus
echo "Moving all nessus files from CD to ramdisk"
cp /KNOPPIX/etc/nessus/* /ramdisk/nessus
echo "Updating location of plugins in nessusd.conf"
cat /ramdisk/nessus/nessusd.conf | grep -v "plugins_folder" > /ramdisk/scratch
mv -f /ramdisk/scratch /ramdisk/nessus/nessusd.conf
echo "plugins_folder = /ramdisk/nessus/plugins" >> /ramdisk/nessus/nessusd.conf
echo "updating plugins"
/usr/sbin/nessus-update-plugins -v
Thanks for posting the tip. It should come in handy.
Adam
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$19.99
$8.50
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
Linux Knoppix 4.0.2 Installation Disc
$39.99
$12.00
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
New Knoppix 9.2 Pro Bootable Live OS x86 64Bit DVD Linux
$9.97
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95