search cancel

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) CA Privileged Access Manager - Server Control (PAMSC)

Issue/Introduction

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

Privileged Identity Manager 12.8 SP1

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