RE: Q re killing sessions
Posted in 1997
May be you can write a C program which checks for the command onmode
with -z option and change the SUID bit of the executable with owner as
informix. By this way you might achieve what you wanted.
Hope that helps
Jay
} -----Original Message-----
} From: Michal Hajek [SMTP:hajek@nspuh.cz]
} Sent: Thursday, October 30, 1997 11:51 PM
} To: informix-list@rmy.emory.edu
} Subject: Re: Q re killing sessions
}
} Barry Leb wrote:
} >
} > I am the sole DBA at my company. However, there are times when I am
} > not available and an errant session needs to be killed. The only
} way
} > I know to kill a session cleanly is with the onmode -z command. Is
} > there any way to give someone the ability to kill an informix
} session
} > using onmode without giving them the informix password or
} compromising
} > security elsewhere?
} >
} Sorry, I do not see anything... You may write a program, which
} sends for example SIGHUP to ANY process (not only to YOUR ones),
} but I do not know exactly, what tbmode does .. seems to me it is
} other principle then sending signals.. But even in case you
} write such application, which fake informix rights - how can you
} make it can not be applied on EVERY sqlturbo, not only on
} the "wanted" one ?
}
} I do not see other way than informix password - and informix
} responsibility .....
}
} Michal
} --
} --------------------------------------------------------------
} Michal Hajek mailto:hajek@nspuh.cz
} Sprava NIS http://www.nspuh.cz
} NsP Uherske Hradiste phone : voice +420 0632 529 204
} Purkynova 365 fax +420 0632 551 014
} 686 68 Uherske Hradiste Czech Republic
} --------------------------------------------------------------