Hello,
I recently installed Centrify 2017.1 on a server where we have a local user that Tomcat runs as. When I log in as an AD user and SU to the user the bash script we have in the environment variables is not working. But if I log in directly as that local user it works fine. Here are the differences in the commands echo $PATH.
Correct one -
[rmwm@rmwmqa02 ~]$ echo $PATH
/usr/lib64/qt-3.3/bin:/opt/jdk1.8.0_60/bin:/usr/share/centrifydc/bin:/usr/localbin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/rmwm/bin
Incorrect
[rmwm@rmwmqa02 ~]$ echo $PATH
/opt/jdk1.8.0_60/bin:/opt/jdk1.8.0_60/bin:/usr/lib64/qt-3.3/bin:/opt/jdk1.8.0_60/bin:/usr/share/centrifydc/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sbrennan_admin/bin
The part that makes the script work from any directory is the sbin:/home/rmwm/bin. Why would that be missing from same user account when I SU.
Thanks