ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

When we do sesu to root in Solaris the path/environment variable is not set.

book

Article ID: 20555

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

Symptoms:
When we perform sesu to root in Solaris Operating from any non root user we see that the environment/path variable for the root user is not set.

Sample error message:

bash-2.05$ sesu -
 Sun Microsystems Inc. SunOS 5.9 Generic May 2002
 You have new mail.
 /etc/profile[121]: grep: not found
 /etc/profile[121]: uname: not found
 /etc/profile[121]: test: argument expected
 /etc/profile[121]: uname: not found
 /etc/profile[121]: uname: not found
 /etc/profile[121]: test: argument expected
 .profile[5]: grep: not found
 .profile[5]: uname: not found
 .profile[5]: test: argument expected
 .profile[5]: uname: not found
 .profile[5]: grep: not found
 .profile[5]: uname: not found
 .profile[5]: test: argument expected 

Environment
PIM Endpoint
Solaris Operating System

Resolution:
1.Stop ControlMinder services

 #/opt/CA/AccessControl/bin/secons -s


2.update the seos.ini as follows

 Path for seos.ini
 /opt/CA/AccessControl/
 Modify the following lines in seos.ini as follows and save the changes
 old_sesu = no
 request_target_password = no
 UseInvokerPassword = no


3.Start ControlMinder services

 #/opt/CA/AccessControl/bin/seload

Environment

Release: ACP1M005900-12.8-Privileged Identity Manager
Component: