From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98508909311413.tru64-unix-managers.marc@archive.invalid> From: Grant Dean Date: Tue, 20 Mar 2001 11:51:51 +0000 To: tru64-unix-managers Subject: Running a script as a different user. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98508909311413 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------1860206A69B284C961F0711C" This is a multi-part message in MIME format. --------------1860206A69B284C961F0711C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I have a script that has to be run as a specific user, no matter which user runs the script. How can this be done. This script is also in ASEMGR and loads on startup. If the script runs as root, the output file permissions are changed, and the billing runs fail due to the inability to access the output files. Anybody that can, please help.... Grant --------------1860206A69B284C961F0711C Content-Type: text/x-vcard; charset=us-ascii; name="grant.dean.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Grant Dean Content-Disposition: attachment; filename="grant.dean.vcf" begin:vcard n:Dean;Grant tel;cell:+27 82 8233 747 x-mozilla-html:FALSE org:Unix Operating Systems & Hardware;Telkom - Cybertrade adr:;;;;;; version:2.1 email;internet:grant.dean@cybertrade.co.za title:Specialist Cybertrade Operations fn:Grant Dean end:vcard --------------1860206A69B284C961F0711C--