Re: Can oninit be run from a shell?
Posted in 1997
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...)
Cheers.
--
Valery Fouques valou@hotmail.com
SYSADM GOSPORT-FRANCE /\\oO/\\
_ __/|
\\`O.o' "355/113 -- Not the famous irrational
=(_ _)= number PI, but an incredible simulation!"
U
Jonathan Leffler <johnl@informix.com> wrote in article
<5ik3h3$did@cssun.mathcs.emory.edu>...
> 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.
>
> Yours,
> Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
>
> }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"
>