I am having a C executable in AIX system by which I can run the command through any user like root or system users. script having below permissions.
On AIX server
lrwsrwxrwx 1 root system 24 Mar 2016 /var/srty/bin/switchuseridprogram -> /opt/switchuseridprogram -rwsr-sr-x 1 root mrc 5024 Jul 20 2015 /opt/switchuseridprogram
/var/srty/bin/switchuseridprogram root 'chown mtest1:dba /mprt/setup/test.log'
Now I am preparing one RHEL system and I don't have source code of that C executable, and I want to use the same functionality in that RHEL system without using
How to do it?