#!/bin/csh -f # Script to enable remote logins on the private workstations in the IC # # MIT Interactive Classroom # # Timothy Wall 1/22/90 v1.0 for system 6.4R # type '/mit/icsys/rlogin_enable' (as root) # # echo -n "making access available..." if (-r /tmp/inetd.conf) then rm /tmp/inetd.conf endif sed -e "s/ switched/ unswitched/g" /etc/inetd.conf > /tmp/inetd.conf mv /tmp/rc.conf /etc/inetd.conf echo "done"