The information in this article applies to:
Product: MIM
Version: 8
Platform: Linux
Discussion
Linux security mode.
Given
>cd /var/Metastorm/mim/850/bin
>ls -la xmofts xmoxmsrv
r-xr-x--- 1 xmuser xmgroup 719810 2010-03-15 16:11 xmofts
-r-xr-x--- 1 xmuser xmgroup 89694 2010-03-15 16:06 xmoxmsrv
Login as root:
>su -
Modify setuid:
>cd /var/Metastorm/mim/850/bin
>chmod 6550 xmofts xmoxmsrv
>chown root xmofts xmxmsrv
Validate setuid:
>ls -la xmofts xmoxmsrv
-r-sr-s--- 1 root xmgroup 719810 2010-03-15 16:11 xmofts
-r-sr-s--- 1 root xmgroup 89694 2010-03-15 16:06 xmoxmsrv
Setup trusted dynamic load lib path (update for each release of MIM):
>cd /etc
>cat ld.so.conf
/usr/X11R6/lib64/Xaw3d
/usr/X11R6/lib64
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/s390x-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
/opt/gnome/lib
/lib64
/lib
/usr/lib64
/usr/lib
/usr/local/lib64
/opt/kde3/lib64
/opt/gnome/lib64
include /etc/ld.so.conf.d/\*.conf
In the ld.so.conf.d directory, create a metastorm.conf:
>cd /etc/ld.so.conf.d
>ls -la \*conf
-rw-r--r-- 1 root root 50 2010-04-30 14:25 metastorm.conf
>cat \*.conf
/opt/mqm/lib64
/u05/qa/Q851/metastorm/mim/851/lib