at files and permissions

Brandon S. Allbery allbery at ncoast.ORG
Mon Jul 10 01:36:14 AEST 1989


As quoted from <669 at lzaz.ATT.COM> by hutch at lzaz.ATT.COM (R.HUTCHISON):
+---------------
| About "at" requiring "root" permission, I guess it needs it to write
| into the "atjobs" directory.
+---------------

at needs root permissions so it can setuid() itself to the owner of the at
job file, so it can execute the job as the user who submitted it.

++Brandon
-- 
Brandon S. Allbery, moderator of comp.sources.misc	     allbery at ncoast.org
uunet!hal.cwru.edu!ncoast!allbery		    ncoast!allbery at hal.cwru.edu
      Send comp.sources.misc submissions to comp-sources-misc@<backbone>
NCoast Public Access UN*X - (216) 781-6201, 300/1200/2400 baud, login: makeuser



More information about the Comp.unix.questions mailing list