Important

   

This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent 21.3 for BMC Helix Operations Management. Open link

Default ownership and permissions for files

The following table shows the default ownership and permissions of the log and configuration files:

Default owner and permissions of log and configuration files

Fine name

Owner

Permissions

WindowsUnixWindowsUnix

config/config_<host>-<port>

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

log/PatrolAgent_<host>-<port>_.errs

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

log/history/<host>/<port>/dir

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

log/history/<host>/<port>/annotate.dat

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

log/history/<host>/<port>/param.hist

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

log/PEM_<host>-<port>.log

SYSTEM, Administrators, /AgentSetup/defaultAccount

defaultAccount

Change

0644

Changing ownership and permissions on UNIX

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.

Before you begin

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 2 and 3.

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 2 and 3

Note

The /AgentSetup/defaultAccount and OSdefaultAccount variables can also be modified through configuration utilities. See Modifying the default account variable.

To change ownership and permissions for files and directories

  1. Perform the appropriate action:
    • If you are using the sh or the ksh, modify the following line in PATROL_HOME/../patrolrc.sh:

      PATROL_ADMIN=user;export PATROL_ADMIN
    • If you are using the csh, modify the following line in PATROL_HOME/../.patrolrc:

      setenv PATROL_ADMIN user
  2. Change the ownership of PATROL_HOME/log and PATROL_HOME/config directories and any files within those directories by using the following command:

    chown -R user $<PATROL_HOME>/log $<PATROL_HOME>/config
  3. Change the group ownership by using the following command:

    chgrp -R groupname $<PATROL_HOME>/log $<PATROL_HOME>/config
Was this page helpful? Yes No Submitting... Thank you

Comments