Normally, all log and configuration files are owned by the user designated by the agent configuration variable /agentSetup/defaultAccount. If you require the files to be owned by another user, change the PATROL_ADMIN environment variable in the shell script PATROL_HOME/../patrolrc.sh or PATROL_HOME/../.patrolrc. Then change the ownership of PATROL_HOME/log and PATROL_HOME/config directories and any files within those directories to the new user.
If the PATROL_HOME directory resides in a local file system and you do not have permission to change the ownership of the log and configuration directories, you may have to logon as root to perform and .
If the PATROL_HOME directory resides in an NFS-mounted file system, you may have to logon as root in the NFS server computer where PATROL_HOME physically resides in order to perform and .
The /AgentSetup/defaultAccount and OSdefaultAccount variables can also be modified through configuration utilities. See Modifying the default account variable.
If you are using the sh or the ksh, modify the following line in PATROL_HOME/../patrolrc.sh:
If you are using the csh, modify the following line in PATROL_HOME/../.patrolrc:
Change the ownership of PATROL_HOME/log and PATROL_HOME/config directories and any files within those directories by using the following command:
Change the group ownership by using the following command: