Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!decuac!shlump.nac.dec.com!rust.zso.dec.com!bacchus.pa.dec.com!decwrl!brister From: brister@decwrl.dec.com (James Brister) Newsgroups: comp.unix.wizards Subject: Re: Cron jobs running as something other than root Message-ID: Date: 1 Sep 90 00:07:46 GMT References: <26d9499b.2715@petunia.CalPoly.EDU> <1990Aug29.110345.19301@cbnews.att.com> <1990Aug30.145743.2949@chinet.chi.il.us> Sender: news@wrl.dec.com (News) Distribution: na Organization: DEC Western Software Lab Lines: 11 In-Reply-To: les@chinet.chi.il.us's message of 30 Aug 90 14:57:43 GMT X-Checksum-Snefru: 096836bc 6b621173 af21a3e4 fd4f2814 You can also do this: echo "commands and stuff here" | su $USER Seems to be little more portable. James -- James Brister brister@decwrl.dec.com DEC Western Software Lab., Palo Alto, California. .....!decwrl!brister