Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!dce.ie!em From: em@dce.ie (Eamonn McManus) Newsgroups: comp.unix.sysv386 Subject: Re: SCO UNIX 3.2.2 Can't set login uid from cron Message-ID: Date: 3 Apr 91 13:53:57 GMT References: <1991Apr02.123535.11230@pfm.rmt.sub.org> <1991Apr03.023853.2019@van-bc.wimsey.bc.ca> Organization: Datacode Communications Ltd, Dublin, Ireland Lines: 15 sl@van-bc.wimsey.bc.ca (Stuart Lynne) writes: >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.: As an alternative, install our SCO su replacement, which sets the luid to the same as the uid you are su-ing to (by doing some naughty things with /dev/kmem). , Eamonn