Hi All,
Let me start with a little bit of a background, I have followed all the steps mentioned on
https://technet.microsoft.com/en-in/library/hh212926.aspx?f=255&MSPPError=-2147217396
http://blogs.technet.com/b/kevinholman/archive/2012/03/18/deploying-unix-linux-agents-using-opsmgr-2012.aspx
https://social.technet.microsoft.com/Forums/en-US/038f88aa-a554-4d37-8bf9-3661ce4bf8c9/ssh-connection-error-hp-ux?forum=operationsmanagerunixandlinux
http://social.technet.microsoft.com/wiki/contents/articles/7375.configuring-sudo-elevation-for-unix-and-linux-monitoring-with-system-center-2012-operations-manager.aspx
It is able to install and monitor fine on the Unix boxes when using the root account, however when we try to use the scom account, it keeps teliing us that "The agent responded to the request but the WSMan connection failed due to: Access is Denied." However using putty i am able to ssh to the UNIX box without issues.
Could you let us know what more should be done, I have also enabled logging on the account, and do see that there is a connection from the SCOM server to the UNIX server, however the access is not given as the creds are read as being invalid.
The following is the code from the sudoers file:
scomuxaa ALL=(root) NOPASSWD: /bin/sh -c cp /tmp/scx-*/scx.pem /etc/opt/microsoft/scx/ssl/scx.pem; rm -rf /tmp/scx-*; /opt/microsoft/scx/bin/too
ls/scxadmin -restart, \
#/bin/sh -c sh /tmp/scx-*/GetOSVersion.sh; EC=$?; rm -rf /tmp/scx-*;
exit $EC, \
#/bin/sh -c cat /etc/opt/microsoft/scx/ssl/scx.pem,
\
#/bin/sh -c rpm -e scx, \
#/bin/sh -c /usr/sbin/swremove scx, \
#/bin/sh -c echo *, \
#/bin/sh -c /bin/rpm -F --force /tmp/scx-*/scx-1.[0-9].[0-9]-[0-9][0-9][0-9].rhel.[0-9].x[6-8][4-6].rpm;
EC=$?; cd /
tmp; rm -rf /tmp/scx-*; exit $EC, \
#/bin/sh -c /bin/rpm -U --force /tmp/scx-*/scx-1.[0-9].[0-9]-[0-9][0-9][0-9].rhel.[0-9].x[6-8][4-6].rpm;
EC=$?; cd /
tmp; rm -rf /tmp/scx-*; exit $EC, \
#/opt/microsoft/scx/bin/scxlogfilereader -p, \
#/usr/bin/uncompress -f /tmp/scx-scomuxaa/scx-*; /usr/sbin/swinstall
-s /tmp/scx-scomuxaa/scx-* scx; EC=$?; cd /tmp;
rm -rf /tmp/scx-scomuxaa; exit $EC
scomuxaa ALL=(ALL) NOPASSWD: ALL, !/usr/bin/su -
Defaults:scomuxaa !requiretty
Could you please help.
Thanks,
Giftson. P