Re: Can oninit be run from a shell?
Posted in 1997
Valery Fouques (valou@hotmail.com):
}X-Informix-List-Id: <news.36494>
}
}There is one solution for what you want:
}Change ouy shell's owner and group to informix:informix
}and issue a chmod +s on your shell (sticky bit).
}Then, anyone executing your shell will be given informix's identity (and
}will have the rights to execute oninit...)
Valery,
That is not a solution -- it is a catastrophe waiting to happen!
You must, must, MUST, control who can do what with the informix login.
Otherwise, anybody can take the OnLine system off-line at any time, or
delete swathes of data, or otherwise completely break the system.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
}Jonathan Leffler <johnl@informix.com> wrote:
}> No, normally root or informix runs it; your system seems to have been
}> installed with role separation enabled so that it is the DBSA (database
}> administrator) who has to do it.
}>
}> }From: nws@stout.atd.ucar.edu (Eddie Roberts)
}> }Date: 10 Apr 1997 18:59:12 GMT
}> }X-Informix-List-Id: <news.36420>
}> }
}> }Is there anyway a "normal - non priveledged" user can run oninit from
}> }a shell script? [...]
}> }
}> }BUT, I get the following error message:
}> } "Must be a DBSA to run this program"