Allowing users to remove files in /usr/spool/at

Andy Clews andy at syma.sussex.ac.uk
Tue Mar 27 21:10:20 AEST 1990


I work on a Sequent Symmetry S81 running DYNIX 3.0.15. My question
could, however, apply to any UN*X box.

I recently set up a command (atq) which lists, in a `friendly' format, the
jobs waiting in /usr/spool/at (i.e. files produced by the "at" command).
I would like to expand the command to enable users to cancel their
own jobs - i.e. remove their own files in /usr/spool/at.

Files in this directory are owned and writeable by the people who gave
the corresponding "at" command, but because /usr/spool/at can only at
present be written by root, users cannot delete their own "at" files.

Can anyone suggest a way in which I can give this sort of access to
/usr/spool/at without compromising system security by allowing the world
to write to it? I'm a bit wary of creating a setuid'd program to do it.

-- 
Andy Clews, Computing Service, Univ. of Sussex, Brighton BN1 9QN, England
JANET: andy at syma.sussex.ac.uk   BITNET: andy%syma.sussex.ac.uk at uk.ac



More information about the Comp.unix.questions mailing list