#! /bin/csh

if (!($1)) then
	echo "Usage: authorize <duration in minutes>"
else
	if (${hosttype} == "vax") then
		/afs/sipb.mit.edu/user/amsnews/bin/${hosttype}/ksrvtgt amsnews "" -s /afs/sipb.mit.edu/user/amsnews/private/krb_file -l $1
		/afs/athena.mit.edu/service/aklog /afs/sipb.mit.edu/user/amsnews
	else
		echo "This script can be run only from a vax."
		echo "There's no good reason for this.
		echo "I was just too lazy to compile it for the RT."
	endif
endif
