Hi All,

I have a user that i want to grant execute permission on our database (informix). some dba functions can't be executed even setting up the suid or sgid.

My question is :

is it possible to write a "c program" instead of a Unix script that do the ff:

1. "su - informix", will not be prompted with a password.
2. execute a dba scripts or commands, like "onbar".

Note; i'm not a c programmer but i want to do it this way so that the password of informix will not be visible to the user.