:
# The name of the secure executable file in this package
# should be entered on the EXECNAME line. Only these two lines
# need to be modified.
PACKNAME=validcompiler
EXECNAME=expgen

SERIALNUM=`/etc/serialnumber`
GETPASS="yes"

while test $GETPASS
do
	echo Type in the password supplied with the $PACKNAME package.
	echo Upper and lower case letters must be distinguished.

	PASSWD=`line`

	echo Password entered is: \"$PASSWD\"
	echo Is this the correct password \(y/n\) [n]? 

	reply=`line`
	case $reply in
		[Yy]*)
			GETPASS=""
			;;
		*)
			;;
	esac
done

ed /etc/passwd <<% > /dev/null 2>&1
g/^$EXECNAME/d
$
i
$EXECNAME:$PASSWD:99:9:0000-valid($SERIALNUM):/:
.
w
q
%
