Securing "tmp" without repartition

First you should secure /tmp: Make a 1GB file for /tmp parition and an ext3 filesystem for tmp: # dd if=/dev/zero of=/dev/tmpFS bs=1024 count=1000000 # /sbin/mkfs.ext3 /dev/tmpFS Create a backup copy of your current /tmp drive: # cp -Rpf /tmp /tmpbackup Mount our new tmp parition and change permissions: # mount -o loop,noexec,nosuid,rw /dev/tmpFS /tmp # chmod 1777 /tmp Copy the old data: cp -Rpf /tmpbackup/\* /tmp/ If you run the mount command and you should get something like this: /dev/tmpMnt on /tmp type ext3 (rw,noexec,nosuid,loop=/dev/loop0) ...

16 January 2010 @ 22:57 · leo

Debian NetInstall - Sparc

Per prima cosa è necessario avere un host linux nel mio caso Debian, e poi ovviamente una Sparc :) Sull’host linux è necessario avere un server rarp e tftp quindi installiamo in questo modo: vm01:~# apt-get install rarpd tftpd-hpa Configuriamo rarpd, editando il seguente file /etc/ethers inserendo una riga con mac address della sparc (si può vedere appena accesa da OpenBoot): XX:XX:XX:XX:XX:XX 192.168.xx.xx Riavviamo per applicare le modifiche: vm01:~# /etc/init.d/rarpd restart ...

16 January 2010 @ 22:54 · leo