Re: Setuid execution not allowed
Posted in 1997
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Server Administration
Joe Lumbley wrote: > > Jacob Salomon (jake@apparel.net) wrote: > > : If you log in as root, CD to $INFORMIXDIR where the engine was > : installed, and run ./installonline, it should reset permissions as > : needed in order to run properly. Just make sure you have the serial > : number and that mecifully short key. Yes, this will brand the product > : again but you do not have to reinstall from the tape. And it will brand > : it as it was already branded before, so what do you care? I thought brand fell over if the file it wanted to "brand" was already branded. But then maybe brand has improved over the years. :-) > Pretty simple solution, but it should work. Anytime I do something like this > I stash off a copy of the onconfig file.....I know its superstitious > behavior, but I basically distrust all install scripts, even the > usually-good Informix ones. That's not superstitious, it's common sense. ;-| > There's another way to do this somewhat easily, as I discovered after > mistakenly restoring executables as root and not keeping ownership the > same. In the $INFORMIXDIR/etc directory are files called *files where > the * is "online" or "esql", etc. These files contain a list of all files, > owners, groups, and permissions, including the suid bits. It's trivial > to write a script to either verify the files or change the owners/permissions > to the correct one. That's a better way of doing it. -- Mark. +------------------------------------------------------------------+ |Mark D. Stock - The West Solutions Group http://www.west.co.za | | The Informix FAQ is at http://www.iiug.org | |mailto:marks@west.co.za +-----------------------------------------+ |Tel: +27 11 803 2151 |If it doesn't work, force it! | |Fax: +27 11 803 2189 |If it breaks, it needed replacing anyway!| |Cell: +27 83 250 2325 |Well, that's how I code anyway! | +------------------------+-----------------------------------------+