Hi Thom,
Mouhssine pointed out a great KB, where you can find more information and some examples on how privilege elevation profiles scripts can be created.
In the specific case of sesudo, you can use the following example of dlpx_pfexec script as a reference:
# Copyright 2016 Delphix. All rights reserved.
#
# - Read the password from stdin.
# - Execute the passed command with elevated privileges.
# - Output both stdout and stderr of the executed command to stdout.
read passwd
/usr/bin/sesudo "$@"
response=$?
if [ $response -ne 0 ]; then
echo "ERROR: Sesudo error ($response)"
echo "$@"
exit 1
fi
Please remember to double check all the security profiles and the permissions for the user you're trying to set up, as we found it's the most cause of issues.