Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!decwrl!shelby!neon!Gang-of-Four!dkeisen From: dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) Newsgroups: comp.unix.wizards Subject: Re: Cron jobs running as something other than root Keywords: Cron Message-ID: <1990Sep2.170556.21640@Neon.Stanford.EDU> Date: 2 Sep 90 17:05:56 GMT References: <26d9499b.2715@petunia.CalPoly.EDU> Sender: news@Neon.Stanford.EDU (USENET News System) Organization: Sequoia Peripherals Lines: 24 In article <26d9499b.2715@petunia.CalPoly.EDU> gmartin@polyslo.CalPoly.EDU (Hackman) writes: > >Excuse this if this has been discussed before, but I am trying to automate >a script that is run from our system (library.calpoly.edu). However, this >script requires that it be run while logged in as 'libs'. This script was >originally written by someone in Tech Support for the company that supports >the software for our online catalog, so I have no idea why the job has to >be run as libs, but: > > Is there any way to make a job that runs from cron run under a > different login id??? In SCO Xenix this is done by having separate crontab files in /usr/spool/cron/crontabs. The command would be put in /usr/spool/cron/crontabs/libs. -- Dave Eisen Home: (415) 323-9757 dkeisen@Gang-of-Four.Stanford.EDU Office: (415) 967-5644 1447 N. Shoreline Blvd. Mountain View, CA 94043