Return to BSD News archive
Newsgroups: comp.os.386bsd.apps Path: sserve!newshost.anu.edu.au!munnari.oz.au!cs.mu.OZ.AU!summer From: summer@ee.mu.OZ.AU (Mark Summerfield) Subject: TCX problems Message-ID: <9310915.6630@mulga.cs.mu.OZ.AU> Sender: news@cs.mu.OZ.AU Organization: Dept of Electrical & Electronic Engineering, University of Melbourne Date: Mon, 19 Apr 1993 05:09:45 GMT Lines: 25 Is anyone running tcx as a user other than root? I find that if normal users try to run a tcx'ed executable, it fails with a Permission denied error. The untcx daemon starts up, and runs setuid as expected, but the untcx process which is invoked uncompress the executable seems to be ignoring the setuid bit. Now, untcx is invoked by having the compressed executable start with: #! /usr/local/bin/untcx Does 386BSD honour the setuid status of the *script* rather than the program it invokes when executing such a file? This would explain the behaviour. If so, can anyone suggest a workaround? Would getting untcx to re-exec itself if its was not running as root solve the problem (if indeed this is the problem)? Mark. -------------------------------------------------------- Mark Summerfield, Photonics Research Laboratory Department of Electrical and Electronic Engineering, University of Melbourne ACSnet[AARN/Internet]: summer@ee.mu.oz[.au] -------------------------------------------------------- library, n., a place with a large number of people, a slightly larger number of books, and a very small number of photocopiers, of which at any given time at least 50% will be out of order.