NEW SERVER CONFIG:
* make big /public directory for case of
reinstalation with a lot of data saved
* ntsysv
* /etc/sysctl.conf:net.ipv4.ip_forward=1
* /etc/sysconfig/network:FORWARD_IPV4=yes -->reboot
* at /etc/rc.d/rc.sysinit make all: AUTOFSCK_OPT=-f
* connect to adsl and add the lines:
cd /root/ppp*, ./pptp 10.0.0.138
* change the /etc/rc.d/init.d/functions "OK" to ros
* /etc/sysconfig/init remove the color
* at /root/.bash_logout add: rm -rf $HOME/.bash_history
* enter karnel label to /etc/lilo.conf
* remove message line from/etc/lilo.conf than lilo -v
* /etc/hosts for name
* /etc/redhat-release for ros boot up message
* enter at /etc/issue a welcome message
* set the time and timeconfig!
* block ssh for users root and ronen only
* add TMOUT=180 to roots .bash_profile
* add another network card : insmod 8139too
* change ifcfg-eth0 -> eth1 (with ip numbers)
* /etc/aliases mail root to ronen
* postfix/sendmail for a fixed address
* nail / mutt
* squirrelmail
* smb or mars, if needed close external connections
* config FW with accurate open ports than save it
pcanywhere tcp5631,udp5632
* squid
* close /etc/ftpusers put ronen, anonymous
* add HDD
* chkconfig --level telnet oFF ,wu-ftpd off/on
* backup+sendInfo script with sendmail for ppp0 connection
* setup iptref
* configure dhcp
* add user = root (security backdoor)
* add aliase as a confirmation for delete for user ronen
* useradd administrator (fake)
* take out the gateway from
(inserted at kickstart) /etc/sysconfig/network
* fedora2 :remove from /bin/unicose_start->
# dumpkeys (err: kdskbent)
* Restart box with no screen, no keyboard
|