/usr/sbin/z-push-top is in z-push-common 2.3.8-2ubuntu1.
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 | #!/bin/sh
# Wrapper script for z-push-top.
user=$(id -nu)
if [ "$user" = "root" ]; then
su -l www-data -s /bin/sh -c "/usr/share/z-push/z-push-top.php $*"
elif [ "$user" = "www-data" ]; then
/usr/share/z-push/z-push-top.php "$@"
else
exit 1
fi
|