The
SAS Environment Manager agent and server process are configured to
run with the credentials of the user that was specified in the SAS
Deployment Wizard. However, if you need to integrate SAS Environment
Manager into your operating system’s services, you might need
to run the SAS Environment Manager Agent server as root in order to
provide the appropriate Read access permissions. For example, syslog
log messages are usually configured to allow only root access.
Perform these changes
to run the agent process as root:
-
Log on as root and start
a terminal session.
-
Navigate to HQ_AGENT_HOME
and stop the agent using the command
bin/hq-agent.sh stop
.
-
Start the agent as root
using the command
bin/hq-agent.sh start
.
After you start the
agent process as root, you can create a service to monitor the log.
When the agent is running
as root, it uses
su
to execute tasks. If
/bin/su
does
not exist, create a link to it. For example, if
su
is
in
/sbin
but not
/bin
,
create a link as follows:
$ sudo ln -s /sbin/su /bin/su