$ORACLE_HOME/install/unix/scripts/agentstup
2. Edit the file to replace executingUser=$USER with executingUser=`id -un`. Then, save and exit the file.
3. Run the root.sh script from the Oracle home of the Management Agent:
$
4. Restart the Management Agent by running the following command from the Oracle home of the Management Agent:
$
This is a one-time action to be taken. Step (1) to Step (3) will ensure that the Management Agent starts up automatically every time you restart the host in the future.