o
o
o
o
o
o
•
read the very good manpage:
•
# man afterboot
..* add the following line to enable linux kernel-emulation:: .. .. kern.emul.linux=1
•
edit fstab and add options softdep all partitions
•
create cdrom and floppy entries in /etc/fstab:
•
# mkdir -p /mnt/dvd; mkdir -p /mnt/floppy
•
# vi /etc/fstab
••
/dev/cd0a /mnt/dvd cd9660 ro,nodev,nosuid,noauto 0 0
•
/dev/fd0a /mnt/floppy msdos rw,nodev,nosuid,noauto 0 0
•
don't use inetd:
•
# echo "inetd=NO" >> /etc/rc.conf.local
•
add an user:
•
# adduser
•
edit /etc/sudoers:
•
# visudo
••
# Uncomment to allow people in group wheel to run all commands
•
%wheel ALL=(ALL) ALL
•
install ports tree:
•
# cd /tmp
•
# ftp ftp://ftp.openbsd.org/pub/OpenBSD/VERSION/ports.tar.gz
•
# cd /usr
•
# tar xzvf /tmp/ports.tar.gz
•
create a directory for scripts# mkdir /usr/local/src/ # mkdir /usr/local/src/scripts # cd /root/ # ln -s/usr/local/src/scripts
•
cgd is obsolete, use vnconfig
•
create an image file on the whole mounted partition:
•
# nice dd if=/dev/prandom of=/mnt/my_partition/encrypted bs=512
Leave a Comment