I am writing a shell script lets say run.sh and i want to call another script lets say test.sh having permissions " root:sys" whereas the permissions for run.sh are "root
Problem is that i cannot change the permissions of either of them. run.sh is performing some other important functions as well and test.sh is a system script and i am not supposed to change that.
If i do not change the permissions, run.sh simply skips the part where it is suppose to call test.sh
Can anyone tell me how do i call test.sh in run.sh without changing permissions of any of them.
check5=`grep '*' $dub`
if [ "$check5" ]
echo "Hardconf Status....................OK\n"
echo "Hardconf Status....................NOK\n"
Thanks in advance