Is there a parent folder of client for SunOS. I wrote the following information for a spot audit, it works on all UNIX OS types minus SunOS. Whatam I missing? The task seems to complete successfully.
Thanks,
Anthony
Action1 (default)
Script Type BigFix Action Script
delete __appendfile
delete /tmp/task_userid.sh
appendfile #!/bin/sh
appendfile cat /etc/passwd > {pathname of parent folder of client}/userid-passwd.log
appendfile cat /etc/shadow > {pathname of parent folder of client}/userid-shadow.log
move __appendfile /tmp/task_userid.sh
wait /bin/sh -C /tmp/task_userid.sh
Analysis:
/etc/passwd
Period 1 day
lines of file “userid-passwd.log” of parent folder of client
l/etc/shadow
Period 1 day
lines of file “userid-shadow.log” of parent folder of client
I guessing that the /bin/sh on your Sun box is a “real gosh-darn original sh” not a sym link to /bin/bash. Doesn’t look like -C is a valid option for sh on SunOS.