Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site down.FUN
Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!down!honey
From: honey@down.FUN (code 101)
Newsgroups: net.unix-wizards
Subject: Re: UNIX source vs. binary (NOT A LEGAL ARGUMENT)
Message-ID: <440@down.FUN>
Date: Sun, 10-Feb-85 07:46:43 EST
Article-I.D.: down.440
Posted: Sun Feb 10 07:46:43 1985
Date-Received: Mon, 11-Feb-85 05:42:58 EST
References: <7982@brl-tgr.ARPA> <97@timeinc.UUCP>
Organization: Princeton University, EECS
Lines: 17

In article <97@timeinc.UUCP> jim@timeinc.UUCP (Jim Scardelis) writes:
>I would *really* like to be able to customize login.c so that dialup logins
>from 'root' are disallowed...but I can't.

here's down!/.profile, written by pat parseghian, bowdlerized by me:

trap exit 1 2 3 15
if [ "`tty`" != "/dev/console" ]
then
	echo "root must log in on the console"
	exit 1
fi
trap 1 2 3 15

there is probably a narrow window of vulnerability here.  

	peter