Re: ircombine w/ setuid-root (fix/work-around?)

New Message Reply Date view Thread view Subject view Author view

William Sherman -Visualization (wsherman++at++ncsa.uiuc.edu)
Fri, 19 Dec 1997 14:17:54 -0600 (CST)


> Don't use setmon on iR.

Thanks everyone for the advice. I use a moderately complicated .cmb file,
and I didn't think setmon would work. And I tried (or believe I tried)
a few of the other suggestions. Namely, I set ircombine itself to be
setuid-root, and that didn't work. Then I wrote a C program to
make a system call with the proper ircombine command strings, compiled
it, made it setuid-root, and that didn't work. So we ended up with
a couple of shell scripts that had to be run as root. It seemed like
ircombine itself would refuse to run unless root was actually logged on.

Before responding though, I did a sanity check, and ... it worked!
I guess my sanity is questionable. Specifically, the C program that
wouldn't run before now works, and I made a new version with fancy
options, and that now works.

Now, it had been a few months before I had done all the work, and a
new project was coming up that would require more ir-mode switching,
so I was hoping there would be a patch or something. Apparently there
is, and something that we installed on the machine between last
April and today must have fixed it.

Either that or I'm crazy.

        Bill -- of course, those aren't mutually exclusive either

So thanks again everyone, you're advice worked -- even though I didn't
think some of it would.

/*************************************************************************/
/* Bill Sherman (wsherman++at++ncsa.uiuc.edu) */
/* National Center for Supercomputing Applications */
/* University of Illinois at Urbana-Champaign */
/* Og - "You want to do mankind a real service? Tell funnier jokes" */
/* Spinner - "but facts don't always reveal the truth" */
/* Robin - "Yeah, but I always figure that's the writers' fault" */
/*************************************************************************/

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:27 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.