/usr/lib/x86_64-linux-gnu/oddjob/sanity.sh is in oddjob 0.34.3-4.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash
echo \[id\]
id
echo \[pwd\]
pwd
echo \[ls -l /proc/\$\$/fd\]
ls -l /proc/$$/fd
echo \[echo \$\*\]
echo $*
echo \[echo \`cat\`\]
args=
while read arg ; do
args="${args:+$args }$arg"
done
echo "$args"
# Note: D-Bus will truncate this string at the first zero byte.
echo \[cat /proc/\$\$/cmdline\]
cat /proc/$$/cmdline
echo ""
|