home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!sgi!odin!shire.corp.sgi.com!trant
- From: trant@shire.corp.sgi.com (Ken Trant)
- Subject: Re: How to write a "turnin" utility??
- Message-ID: <1992Dec29.173936.27789@odin.corp.sgi.com>
- Sender: news@odin.corp.sgi.com (Net News)
- Nntp-Posting-Host: shire.corp.sgi.com
- Reply-To: trant@sgi.com
- Organization: Silicon Graphics Inc. Server Technologies
- References: <1992Dec29.015418.12223@doug.cae.wisc.edu> <C010F5.9D6@news.iastate.edu> <1hpr33INNco0@rave.larc.nasa.gov> <0291H&pdqb@atlantis.psu.edu>
- Date: Tue, 29 Dec 1992 17:39:36 GMT
- Lines: 24
-
- I would not suggest a SetUID script simply because of the security
- issues. I wonder also if the files students turn in must be secure,
- you wouldn't want one student reviewing the work of other in order
- to generate their own code. So you must make sure that once the file
- is delivered it is not accessible by others.
-
- Does your system allow you to give away files?, not all do. Some
- basics then would be
- chmod 400 $1
- mv $1 $SecureDir/$1.$$ #use PID so name is unique
- chown Teacher ${SecureDir}/$1.$$
-
- I would then send email to $Teacher to acknowledge delivery of the
- code.
-
- And I would use Perl.
-
- Happy Holidays
- --
- -----
- Ken Trant <trant@sgi.com> / I think that I shall never see
- Senior Systems Administrator / A billboard lovely as a tree
- Information Services, / Indeed, unless the billboards fall
- Silicon Graphics, Inc / I'll never see a tree at all
-