Xref: utzoo comp.unix.xenix:4681 comp.sys.ibm.pc:23860 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!sharkey!edsews!uunet!ispi!jbayer From: jbayer@ispi.UUCP (Jonathan Bayer) Newsgroups: comp.unix.xenix,comp.sys.ibm.pc Subject: Re: HELP!! Keywords: enable disable Message-ID: <429@ispi.UUCP> Date: 28 Jan 89 01:05:21 GMT References: <6932@killer.DALLAS.TX.US> Reply-To: jbayer@ispi.UUCP (Jonathan Bayer) Organization: Intelligent Software Products, Inc. Lines: 26 In article <6932@killer.DALLAS.TX.US> barton@killer.DALLAS.TX.US (Barton Fisk) writes: >I need a user to be able to run a shell script to disable a serial >line for dial out. > [deleted] > >So, in order for me to be able to run this comm prog (Blast), I >must first disable the line or I get an error (comm port in use). > >Then after transfer is made, I need this script to re-enable the >line. > One thing you might try is to write a couple of small programs which would simple call enable and disable with the appropriate uids set. That way you can have a setuid program doing the work without letting anybody become root. Jb -- Jonathan Bayer Beware: The light at the end of the Intelligent Software Products, Inc. tunnel may be an oncoming dragon 19 Virginia Ave. ...uunet!ispi!jbayer Rockville Centre, NY 11570 (516) 766-2867 jbayer@ispi