Assignment 3 Solution


Original 10 Issues

Following are the 6 things that were diliberatly broken.

route table

The route table was wrong. The default route address was set to 129.138.3.100 which does not exist. It should be set to 129.138.3.1 in slackware this is done in /etc/rc.d/rc.inet1.

This is what kept you from getting from the cs209 machine out to any other machine.

wrong IP

/etc/hosts had the ip for cs209 set to 129.138.62 which actually resolves to the hostname bera.tcct.nmt.edu.

This made things like ping and traceroute to the machine fail.

wrong hostname

/etc/HOSTNAME is set to broken.tcct.nmt.edu. This won't break many things, but it will happend when you least expect it.

HOME=/

/etc/passwd has /usr/home/user set instead of just /home/user which is where the home accounts actually are. This breaks anything that wants to write to your home account like pine or vi.

wrong LD_LIBRARY_PATH

/etc/profile sets the LD_LIBRARY_PATH to /usr/broken:/lib:/usr/lib:/usr/X11/lib. There is a file in /usr/broken called libc.so.5. This is actually a libc6 library and this makes just about everything segfault.

file system full

I accidently left my script in / which fills up the file system. /dev/audio is actually about 62 megs in size, full of zeros.

Additional Issues

Following are issues not originally designed into the cs209 machine, but were given credit for.

vi

vi is broken because it cant find the home directory

mail

mail is sent to mailhost.nmt.edu. this is because DNS had an MX record for cs209. I removed it, but it did cause problems.

ssh

inetd.conf is configured to start ssh, but ssh is not installed

Non Issues

Following are not considered security issues for the second assignment.

/etc/hosts.alloq

This is not what keep you from connecting from non tcct.nmt.edu machines.

NIS/yp

the machine doesnt run NIS, so there is no need to fix /etc/yp.conf or some such.

Today's Date:
Last Modified:
K. Scott Rowe