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
Privileged Identity Manager 12.8 SP1
Solaris Operating System
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