Close to what I need. But I need a way for the admin user to run a bash file,...

Close to what I need. But I need a way for the admin user to run a bash file, it will automatically send commands as sudo to run another bash program that will insert a 'CRON' command every 5 min to make sure the system has everything turned on as needed.

The problem I am running into is that after the sudo command in bash program 1, it will log in as root, but will not continue inserting commands from bash program 1, until I sign out of root. Than once signed out, the rest of bash program 1 will run and execute bash program 2 (Inside the admin user, not root).

So Ultimately, I need a bash program to continue running in the root user, initiated by the admin user.

Click Here!