Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!van-bc!sl From: sl@van-bc.wimsey.bc.ca (Stuart Lynne) Newsgroups: comp.unix.sysv386 Subject: Re: SCO UNIX 3.2.2 Can't set login uid from cron Message-ID: <1991Apr03.023853.2019@van-bc.wimsey.bc.ca> Date: 3 Apr 91 02:38:53 GMT References: <1991Apr02.123535.11230@pfm.rmt.sub.org> Organization: Wimsey Associates Lines: 21 In article <1991Apr02.123535.11230@pfm.rmt.sub.org> bernd@pfm.rmt.sub.org (Bernd Hennig) writes: >I have a great problem with the SCO UNIX 3.2.2 and cron. The following >is a job in /usr/spool/cron/crontabs/news: > >15,30,40,00 * * * * /bin/su news -c "/usr/lib/news/bin/input/newsrun" > Just use: 15,30,40,00 * * * * "/usr/lib/news/bin/input/newsrun" And make sure that it is in the crontab for "news". I.e.: crontab -u news .... For SCO UNIX, cron set's up the proper environment for you, including the LUID. So you don't need the "su ..." stuff. -- Stuart Lynne Computer Signal Corporation, Canada ...!van-bc!sl 604-937-7532(voice) sl@wimsey.bc.ca