UNIX source vs. binary (NOT A LEGAL ARGUMENT)

code 101 honey at down.FUN
Sun Feb 10 22:46:43 AEST 1985


In article <97 at timeinc.UUCP> jim at 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



More information about the Comp.unix.wizards mailing list