I am restarting the managed weblogic servers using the script and the command to restart the services is the usual one i.e.
java weblogic.Admin -adminurl t3://URL:Port -username **** -password **** FORCESHUTDOWN servername
java weblogic.Admin -adminurl t3://URL:Port -username **** -password **** START servername
There is no sudo usage in the startup script.
When you say trace through execution and find set-uid what exactly does that mean? I have checked the weblogic server log and found that while initialization I could see user.name having value root being passed against it, where can I locate how this value is being assigned?